separate square from rectangular matrices

This commit is contained in:
Irlan
2018-04-02 12:45:54 -03:00
parent d36d6da3b4
commit 615d243b14
6 changed files with 166 additions and 99 deletions

View File

@ -18,6 +18,15 @@
#include <bounce/common/math/mat22.h>
#include <bounce/common/math/mat33.h>
#include <bounce/common/math/mat44.h>
b3Mat22 b3Mat22_zero = b3Mat22(
b3Vec2(0.0f, 0.0f),
b3Vec2(0.0f, 0.0f));
b3Mat22 b3Mat22_identity = b3Mat22(
b3Vec2(1.0f, 0.0f),
b3Vec2(0.0f, 1.0f));
b3Mat33 b3Mat33_zero = b3Mat33(
b3Vec3(0.0f, 0.0f, 0.0f),