Property | Type | Description | |
---|---|---|---|
data | float[] |
Method | Description | |
---|---|---|
GetIdentityMat ( ) : |
||
MyMat4 ( float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33 ) : System | ||
operator ( ) : |
||
ortho ( float l, float r, float b, float t, float n, float f ) : |
||
perspective ( float fovY, float aspectRatio, float nearZ, float farZ ) : |
||
rotate ( float angle, Vector3 p ) : |
||
translate ( Vector3 t ) : |
Method | Description | |
---|---|---|
NormalizeVector ( Vector3 vec ) : Vector3 | ||
Vector3length ( Vector3 &vec ) : float | ||
Vector3lengthSquared ( Vector3 &vec ) : float | ||
frustum ( float l, float r, float b, float t, float n, float f ) : |
public MyMat4 ( float m00, float m01, float m02, float m03, float m10, float m11, float m12, float m13, float m20, float m21, float m22, float m23, float m30, float m31, float m32, float m33 ) : System | ||
m00 | float | |
m01 | float | |
m02 | float | |
m03 | float | |
m10 | float | |
m11 | float | |
m12 | float | |
m13 | float | |
m20 | float | |
m21 | float | |
m22 | float | |
m23 | float | |
m30 | float | |
m31 | float | |
m32 | float | |
m33 | float | |
return | System |
public static ortho ( float l, float r, float b, float t, float n, float f ) : |
||
l | float | |
r | float | |
b | float | |
t | float | |
n | float | |
f | float | |
return |
public static perspective ( float fovY, float aspectRatio, float nearZ, float farZ ) : |
||
fovY | float | |
aspectRatio | float | |
nearZ | float | |
farZ | float | |
return |
public static rotate ( float angle, Vector3 p ) : |
||
angle | float | |
p | Vector3 | |
return |
public static translate ( Vector3 t ) : |
||
t | Vector3 | |
return |