Added missing constants to Vector2, Vector3, Basis and Quat

This commit is contained in:
Marc Gilleron
2020-12-08 23:00:34 +00:00
parent 43828ebb39
commit 8e1cc29c66
12 changed files with 80 additions and 0 deletions

View File

@@ -13,6 +13,11 @@ class Quat;
class Basis {
private:
static const Basis IDENTITY;
static const Basis FLIP_X;
static const Basis FLIP_Y;
static const Basis FLIP_Z;
// This helper template is for mimicking the behavior difference between the engine
// and script interfaces that logically script sees matrices as column major, while
// the engine stores them in row major to efficiently take advantage of SIMD