|
Osiris Framework
0.2
|
Represents 4x4 matrices. More...
#include <OsirisSDK/OMath.h>
Public Member Functions | |
| OMatrix4x4 () | |
| Class constructor. | |
| OMatrix4x4 (float identValue) | |
| Class constructor that creates a diagonal matrix with values defined by the input parameter. More... | |
| OMatrix4x4 (const OMatrix4x4 &in) | |
| Class copy constructor. | |
| virtual | ~OMatrix4x4 () |
| Class destructor. | |
| void | setValue (int row, int col, float value) |
| Set the value of a specific matrix element. More... | |
| float | value (int row, int col) const |
| Returns the value of a specific matrix element. More... | |
Public Member Functions inherited from OMathPrimitive< glm::mat4x4 > | |
| OMathPrimitive () | |
| Class constructor. | |
| OMathPrimitive (const OMathPrimitive< glm::mat4x4 > &in) | |
| Copy constructor. | |
| virtual | ~OMathPrimitive () |
| Class destructor. | |
| OMathPrimitive< glm::mat4x4 > & | operator= (const OMathPrimitive< glm::mat4x4 > &in) |
| OMathPrimitive< glm::mat4x4 > & | operator*= (const OMathPrimitive< glm::mat4x4 > &in) |
| OMathPrimitive< glm::mat4x4 > | operator* (const OMathPrimitive< glm::mat4x4 > &in) |
| bool | operator== (const OMathPrimitive< glm::mat4x4 > &in) const |
| bool | operator!= (const OMathPrimitive< glm::mat4x4 > &in) const |
| const GLfloat * | glArea () const |
| Returns a pointer to the memory area to be used by OpenGL. | |
Additional Inherited Members | |
Protected Attributes inherited from OMathPrimitive< glm::mat4x4 > | |
| glm::mat4x4 | _glmInternal |
Represents 4x4 matrices.
| OMatrix4x4::OMatrix4x4 | ( | float | identValue | ) |
Class constructor that creates a diagonal matrix with values defined by the input parameter.
| identValue | Values of the matrix main diagonal elements. |
| void OMatrix4x4::setValue | ( | int | row, |
| int | col, | ||
| float | value | ||
| ) |
Set the value of a specific matrix element.
| row | Row index number. |
| col | Column index number. |
| value | New element value. |
| float OMatrix4x4::value | ( | int | row, |
| int | col | ||
| ) | const |
Returns the value of a specific matrix element.
| row | Row index number. |
| col | Column index number. |