Common: Add Matrix33::FromQuaternion.

This commit is contained in:
Jordan Woyak
2020-01-02 15:16:37 -06:00
parent 7a6a4510f6
commit 8ab3694f51
2 changed files with 17 additions and 0 deletions

View File

@ -273,6 +273,7 @@ class Matrix33
{
public:
static Matrix33 Identity();
static Matrix33 FromQuaternion(float x, float y, float z, float w);
// Return a rotation matrix around the x,y,z axis
static Matrix33 RotateX(float rad);