C# Class NewTOAPIA.Graphics.Processor.Matrix4Util

Inheritance: GPLang
Show file Open project: Wiladams/NewTOAPIA

Public Methods

Method Description
FrustumMatrix ( float left, float right, float bottom, float top, float zNear, float zFar ) : mat4
IdentityMatrix ( ) : mat4
Ortho ( float left, float right, float bottom, float top, float hither, float yon ) : mat4
OrthoMatrix ( float left, float right, float bottom, float top, float zNear, float zFar ) : mat4
Perspective ( float fov, float Zn, float Zf ) : mat4
Perspective ( float fov, float aspect, float hither, float yon ) : mat4
RotateMatrix ( float angle, vec3 axis ) : mat4
RotateX ( float angle ) : mat4
RotateY ( float angle ) : mat4
RotateZ ( float theta ) : mat4
Scale ( float sx, float sy, float sz ) : mat4
Scale ( vec4 &s ) : mat4
ScaleMatrix ( vec3 &s ) : mat4
Translate ( float tx, float ty, float tz ) : mat4
Translate ( vec3 &t ) : mat4
Translate ( vec4 &t ) : mat4

Method Details

FrustumMatrix() public static method

public static FrustumMatrix ( float left, float right, float bottom, float top, float zNear, float zFar ) : mat4
left float
right float
bottom float
top float
zNear float
zFar float
return mat4

IdentityMatrix() public static method

public static IdentityMatrix ( ) : mat4
return mat4

Ortho() public static method

public static Ortho ( float left, float right, float bottom, float top, float hither, float yon ) : mat4
left float
right float
bottom float
top float
hither float
yon float
return mat4

OrthoMatrix() public static method

public static OrthoMatrix ( float left, float right, float bottom, float top, float zNear, float zFar ) : mat4
left float
right float
bottom float
top float
zNear float
zFar float
return mat4

Perspective() public static method

public static Perspective ( float fov, float Zn, float Zf ) : mat4
fov float
Zn float
Zf float
return mat4

Perspective() public static method

public static Perspective ( float fov, float aspect, float hither, float yon ) : mat4
fov float
aspect float
hither float
yon float
return mat4

RotateMatrix() public static method

public static RotateMatrix ( float angle, vec3 axis ) : mat4
angle float
axis vec3
return mat4

RotateX() public static method

public static RotateX ( float angle ) : mat4
angle float
return mat4

RotateY() public static method

public static RotateY ( float angle ) : mat4
angle float
return mat4

RotateZ() public static method

public static RotateZ ( float theta ) : mat4
theta float
return mat4

Scale() public static method

public static Scale ( float sx, float sy, float sz ) : mat4
sx float
sy float
sz float
return mat4

Scale() public static method

public static Scale ( vec4 &s ) : mat4
s vec4
return mat4

ScaleMatrix() public static method

public static ScaleMatrix ( vec3 &s ) : mat4
s vec3
return mat4

Translate() public static method

public static Translate ( float tx, float ty, float tz ) : mat4
tx float
ty float
tz float
return mat4

Translate() public static method

public static Translate ( vec3 &t ) : mat4
t vec3
return mat4

Translate() public static method

public static Translate ( vec4 &t ) : mat4
t vec4
return mat4