C# Class OpenTK.Graphics.ES20.MyMat4

ファイルを表示 Open project: prepare/HTML-Renderer Class Usage Examples

Public Properties

Property Type Description
data float[]

Public Methods

Method Description
GetIdentityMat ( ) : MyMat4
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 ( ) : MyMat4
ortho ( float l, float r, float b, float t, float n, float f ) : MyMat4
perspective ( float fovY, float aspectRatio, float nearZ, float farZ ) : MyMat4
rotate ( float angle, Vector3 p ) : MyMat4
translate ( Vector3 t ) : MyMat4

Private Methods

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 ) : MyMat4

Method Details

GetIdentityMat() public static method

public static GetIdentityMat ( ) : MyMat4
return MyMat4

MyMat4() public method

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

operator() public static method

public static operator ( ) : MyMat4
return MyMat4

ortho() public static method

public static ortho ( float l, float r, float b, float t, float n, float f ) : MyMat4
l float
r float
b float
t float
n float
f float
return MyMat4

perspective() public static method

public static perspective ( float fovY, float aspectRatio, float nearZ, float farZ ) : MyMat4
fovY float
aspectRatio float
nearZ float
farZ float
return MyMat4

rotate() public static method

public static rotate ( float angle, Vector3 p ) : MyMat4
angle float
p Vector3
return MyMat4

translate() public static method

public static translate ( Vector3 t ) : MyMat4
t Vector3
return MyMat4

Property Details

data public_oe property

public float[] data
return float[]