Robert42 / gl-research-toolkit

A small collection of tools thought for researching realtime graphic techniques using OpenGL
Other
5 stars 0 forks source link

Use quaternions for rotation instead of matrixes? #13

Closed Robert42 closed 8 years ago

Robert42 commented 9 years ago

for the model matrix this makes sense:

Don't forget about theese:

Robert42 commented 8 years ago

For more informations about this, take a look at http://stackoverflow.com/questions/15704096/why-do-i-need-to-convert-quaternion-to-4x4-matrix-when-uploading-to-the-shaders But for now I am going to use matrices only