Nonozor
03-04-2010, 03:22 PM
Hello!
looking at the code of other people, I think that lot of them implements their own matrices and vectors structures and operations to avoid using an external lib.
My question is "What are the pros and cons of using a lib of matrices and vectors in an OpenGL program?"
My pros:
- well implemented
- gain of time
- if I implement it, it will be the same because there are not many different ways to do a translation, a rotation, etc
My cons:
- it make an external dependencie and it is not long to implement.
What do you think about it?
I am a beginner and I am really looking forward to your answers!!!
looking at the code of other people, I think that lot of them implements their own matrices and vectors structures and operations to avoid using an external lib.
My question is "What are the pros and cons of using a lib of matrices and vectors in an OpenGL program?"
My pros:
- well implemented
- gain of time
- if I implement it, it will be the same because there are not many different ways to do a translation, a rotation, etc
My cons:
- it make an external dependencie and it is not long to implement.
What do you think about it?
I am a beginner and I am really looking forward to your answers!!!