16 #ifndef MATHFU_CONSTANTS_H
17 #define MATHFU_CONSTANTS_H
158 static const AffineTransform kAffineIdentity(1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f,
159 0.0f, 0.0f, 0.0f, 0.0f, 1.0f,
165 #endif // MATHFU_CONSTANTS_H
static const Vector< int, 3 > kZeros3i(0, 0, 0)
3-dimensional int Vector of zeros.
static const Vector< int, 4 > kAxisZ4i(0, 0, 1, 0)
4-dimensional int unit Vector pointing along the Y axis.
static const Vector< double, 2 > kOnes2d(1.0, 1.0)
2-dimensional double Vector of ones.
static const Vector< int, 2 > kOnes2i(1, 1)
2-dimensional int Vector of zeros.
static const Vector< float, 3 > kAxisZ3f(0.0f, 0.0f, 1.0f)
3-dimensional float unit Vector pointing along the Z axis.
static const Vector< double, 3 > kAxisZ3d(0.0, 0.0, 1.0)
3-dimensional double unit Vector pointing along the Z axis.
Vector of d elements with type T.
Definition: vector.h:63
static const Vector< double, 2 > kAxisX2d(1.0, 0.0)
2-dimensional double unit Vector pointing along the X axis.
static const Vector< double, 3 > kOnes3d(1.0, 1.0, 1.0)
3-dimensional double Vector of ones.
static const Vector< int, 2 > kAxisY2i(0, 1)
2-dimensional int unit Vector pointing along the Y axis.
static const Quaternion< double > kQuatIdentityd(1.0, 0.0, 0.0, 0.0)
Quaternion Identity.
static const Vector< float, 2 > kAxisX2f(1.0f, 0.0f)
2-dimensional float unit Vector pointing along the X axis.
static const Vector< float, 4 > kZeros4f(0.0f, 0.0f, 0.0f, 0.0f)
4-dimensional float Vector of zeros.
static const Vector< int, 3 > kOnes3i(1, 1, 1)
3-dimensional int Vector of ones.
static const Vector< float, 4 > kAxisW4f(0.0f, 0.0f, 0.0f, 1.0f)
4-dimensional float unit Vector pointing along the W axis.
Matrix stores a set of "rows" by "columns" elements of type T and provides functions that operate on ...
Definition: matrix.h:147
static const Vector< double, 3 > kAxisY3d(0.0, 1.0, 0.0)
3-dimensional double unit Vector pointing along the Y axis.
static const Vector< double, 4 > kAxisZ4d(0.0, 0.0, 1.0, 0.0)
4-dimensional double unit Vector pointing along the Z axis.
static const Vector< float, 3 > kZeros3f(0.0f, 0.0f, 0.0f)
3-dimensional float Vector of zeros.
static const Vector< int, 3 > kAxisZ3i(0, 0, 1)
3-dimensional int unit Vector pointing along the Z axis.
static const Vector< float, 4 > kAxisZ4f(0.0f, 0.0f, 1.0f, 0.0f)
4-dimensional float unit Vector pointing along the Z axis.
static const Vector< double, 2 > kAxisY2d(0.0, 1.0)
2-dimensional double unit Vector pointing along the Y axis.
static const Vector< int, 4 > kZeros4i(0, 0, 0, 0)
4-dimensional int Vector of zeros.
static const Vector< float, 2 > kAxisY2f(0.0f, 1.0f)
2-dimensional float unit Vector pointing along the Y axis.
static const Vector< int, 4 > kAxisW4i(0, 0, 0, 1)
4-dimensional int unit Vector pointing along the W axis.
Matrix class and functions.
static const Vector< int, 2 > kAxisX2i(1, 0)
2-dimensional int unit Vector pointing along the X axis.
static const Vector< float, 3 > kAxisY3f(0.0f, 1.0f, 0.0f)
3-dimensional float unit Vector pointing along the Y axis.
static const Vector< int, 3 > kAxisX3i(1, 0, 0)
3-dimensional int unit Vector pointing along the X axis.
static const Vector< double, 3 > kZeros3d(0.0, 0.0, 0.0)
3-dimensional double Vector of zeros.
static const Vector< double, 2 > kZeros2d(0.0, 0.0)
2-dimensional double Vector of zeros.
static const Vector< double, 3 > kAxisX3d(1.0, 0.0, 0.0)
3-dimensional double unit Vector pointing along the X axis.
static const Vector< float, 4 > kOnes4f(1.0f, 1.0f, 1.0f, 1.0f)
4-dimensional float Vector of ones.
static const Vector< float, 3 > kOnes3f(1.0f, 1.0f, 1.0f)
3-dimensional float Vector of ones.
static const Vector< int, 2 > kZeros2i(0, 0)
2-dimensional int Vector of ones.
static const Vector< double, 4 > kAxisX4d(1.0, 0.0, 0.0, 0.0)
4-dimensional double unit Vector pointing along the X axis.
static const Vector< float, 4 > kAxisX4f(1.0f, 0.0f, 0.0f, 0.0f)
4-dimensional float unit Vector pointing along the X axis.
static const Vector< float, 3 > kAxisX3f(1.0f, 0.0f, 0.0f)
3-dimensional float unit Vector pointing along the X axis.
Definition: vector_4_simd.h:38
static const Vector< int, 4 > kAxisX4i(1, 0, 0, 0)
4-dimensional int unit Vector pointing along the X axis.
Quaternion class and functions.
static const Vector< float, 2 > kZeros2f(0.0f, 0.0f)
2-dimensional float Vector of zeros.
static const Vector< float, 2 > kOnes2f(1.0f, 1.0f)
2-dimensional float Vector of ones.
static const Vector< double, 4 > kZeros4d(0.0, 0.0, 0.0, 0.0)
4-dimensional double Vector of zeros.
Vector class and functions.
Stores a Quaternion of type T and provides a set of utility operations on each Quaternion.
Definition: quaternion.h:47
static const Vector< double, 4 > kOnes4d(1.0, 1.0, 1.0, 1.0)
4-dimensional double Vector of ones.
static const Vector< float, 4 > kAxisY4f(0.0f, 1.0f, 0.0f, 0.0f)
4-dimensional float unit Vector pointing along the Y axis.
static const Vector< int, 4 > kAxisY4i(0, 1, 0, 0)
4-dimensional int unit Vector pointing along the Z axis.
static const Vector< double, 4 > kAxisY4d(0.0, 1.0, 0.0, 0.0)
4-dimensional double unit Vector pointing along the Y axis.
static const Vector< double, 4 > kAxisW4d(0.0, 0.0, 0.0, 1.0)
4-dimensional double unit Vector pointing along the W axis.
static const Vector< int, 3 > kAxisY3i(0, 1, 0)
3-dimensional int unit Vector pointing along the Y axis.
static const Vector< int, 4 > kOnes4i(1, 1, 1, 1)
4-dimensional int Vector of ones.
static const Quaternion< float > kQuatIdentityf(1.0f, 0.0f, 0.0f, 0.0f)
Quaternion Identity.