18 #ifndef __H__OCULAR_MATH_MATRIX_4X4_TEMP__H__
19 #define __H__OCULAR_MATH_MATRIX_4X4_TEMP__H__
21 #include "MathCommon.hpp"
22 #include "Utilities/Types.hpp"
38 template<
typename T>
class Vector3;
39 template<
typename T>
class Vector4;
43 struct Matrix4x4_Internal;
92 Matrix4x4(
float x0,
float y0,
float z0,
float w0,
93 float x1,
float y1,
float z1,
float w1,
94 float x2,
float y2,
float z2,
float w2,
95 float x3,
float y3,
float z3,
float w3);
159 float operator[](uint32_t index);
264 void setData(
float const* data);
270 void getData(
float* data)
const;
289 float getDeterminant()
const;
Definition: Matrix3x3.hpp:39
Matrix4x4()
Definition: Matrix4x4.cpp:187
void setElement(uint32_t index, float value)
Definition: Matrix4x4.cpp:302
static Matrix4x4 CreateLookAtMatrix(Vector3< float > const &from, Vector3< float > const &to, Vector3< float > const &up)
Definition: Matrix4x4.cpp:487
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70
Definition: Quaternion.hpp:50
static Matrix4x4 CreateTranslationMatrix(Vector3< float > const &translate, Matrix4x4 const &matrix=Matrix4x4())
Definition: Matrix4x4.cpp:477
static Matrix4x4 CreateScaleMatrix(Vector3< float > const &scale, Matrix4x4 const &matrix=Matrix4x4())
Definition: Matrix4x4.cpp:482
A 3x3 column-major float matrix.
Definition: Matrix3x3.hpp:63
void getRow(uint32_t index, Vector4< float > &row) const
Definition: Matrix4x4.cpp:345
void setCol(uint32_t index, Vector4< float > const &col)
Definition: Matrix4x4.cpp:371
Matrix4x4_Internal * getInternal() const
Definition: Matrix4x4.cpp:514
bool isIdentity() const
Definition: Matrix4x4.cpp:458
void getCol(uint32_t index, Vector4< float > &col) const
Definition: Matrix4x4.cpp:392
static Matrix4x4 CreatePerspectiveMatrix(float fov, float aspectRatio, float nearClip, float farClip)
Definition: Matrix4x4.cpp:497
void getData(float *data) const
Definition: Matrix4x4.cpp:426
A 4x4 column-major float matrix.
Definition: Matrix4x4.hpp:64
float getElement(uint32_t index) const
Definition: Matrix4x4.cpp:310
static Matrix4x4 CreateOrthographicMatrix(float xMin, float xMax, float yMin, float yMax, float nearClip, float farClip)
Definition: Matrix4x4.cpp:492
Definition: MathInternal.hpp:52
void setRow(uint32_t index, Vector4< float > const &row)
Definition: Matrix4x4.cpp:324
void setData(float const *data)
Definition: Matrix4x4.cpp:418