implemented matrix to quaternion conversion

This commit is contained in:
aap
2017-10-22 12:19:00 +02:00
parent 9609a91848
commit b62da21ef8
2 changed files with 35 additions and 0 deletions

View File

@@ -321,6 +321,7 @@ struct Matrix
Matrix *translate(V3d *translation, CombineOp op);
Matrix *scale(V3d *scl, CombineOp op);
Matrix *transform(Matrix *mat, CombineOp op);
Quat getRotation(void);
void lookAt(const V3d &dir, const V3d &up);
// helper functions. consider private