C# Class GLSharp.Util.Matrix4X4

显示文件 Open project: colin-dumitru/GLSharp Class Usage Examples

Public Properties

Property Type Description
Elements float[]

Public Methods

Method Description
Clone ( ) : Matrix4X4
Copy ( Matrix4X4 other ) : void
Inverse ( ) : Matrix4X4
Inverse2 ( Matrix4X4 dest ) : Matrix4X4
MakeFrustrum ( float left, float right, float bottom, float top, float znear, float zfar ) : Matrix4X4
MakeLookAt ( Vector3 eye, Vector3 center, Vector3 up ) : Matrix4X4
MakeOrtho ( float left, float right, float bottom, float top, float znear, float zfar ) : Matrix4X4
MakePerspective ( float fov, float aspect, float znear, float zfar ) : Matrix4X4
Matrix4X4 ( float elements ) : System
MultiplyAffineM ( Matrix4X4 other ) : Matrix4X4
MultiplyM ( Matrix4X4 other ) : Matrix4X4
MultiplyM2 ( Matrix4X4 other, Matrix4X4 dest ) : Matrix4X4
MultiplyMInv ( Matrix4X4 other ) : Matrix4X4
Rotate ( float angle, Vector3 axis ) : Matrix4X4
RotateX ( float angle ) : Matrix4X4
RotateY ( float angle ) : Matrix4X4
RotateZ ( float angle ) : Matrix4X4
Scale ( Vector3 scale ) : Matrix4X4
Scale1 ( float value ) : Matrix4X4
SetRotation ( Vector3 rotation ) : Matrix4X4
SetRotation3 ( float x, float y, float z ) : Matrix4X4
SetScale1 ( float value ) : Matrix4X4
SetScale3 ( float x, float y, float z ) : Matrix4X4
SetTranslate ( Vector3 position ) : Matrix4X4
SetTranslate3 ( float x, float y, float z ) : Matrix4X4
TransformV ( Vector3 vect ) : Vector3
Translate ( Vector3 distance ) : Matrix4X4
Translate3 ( float x, float y, float z ) : Matrix4X4
TranslateInverse ( Vector3 distance ) : Matrix4X4
Transpose ( ) : Matrix4X4

Method Details

Clone() public method

public Clone ( ) : Matrix4X4
return Matrix4X4

Copy() public method

public Copy ( Matrix4X4 other ) : void
other Matrix4X4
return void

Inverse() public method

public Inverse ( ) : Matrix4X4
return Matrix4X4

Inverse2() public method

public Inverse2 ( Matrix4X4 dest ) : Matrix4X4
dest Matrix4X4
return Matrix4X4

MakeFrustrum() public static method

public static MakeFrustrum ( float left, float right, float bottom, float top, float znear, float zfar ) : Matrix4X4
left float
right float
bottom float
top float
znear float
zfar float
return Matrix4X4

MakeLookAt() public static method

public static MakeLookAt ( Vector3 eye, Vector3 center, Vector3 up ) : Matrix4X4
eye Vector3
center Vector3
up Vector3
return Matrix4X4

MakeOrtho() public static method

public static MakeOrtho ( float left, float right, float bottom, float top, float znear, float zfar ) : Matrix4X4
left float
right float
bottom float
top float
znear float
zfar float
return Matrix4X4

MakePerspective() public static method

public static MakePerspective ( float fov, float aspect, float znear, float zfar ) : Matrix4X4
fov float
aspect float
znear float
zfar float
return Matrix4X4

Matrix4X4() public method

public Matrix4X4 ( float elements ) : System
elements float
return System

MultiplyAffineM() public method

public MultiplyAffineM ( Matrix4X4 other ) : Matrix4X4
other Matrix4X4
return Matrix4X4

MultiplyM() public method

public MultiplyM ( Matrix4X4 other ) : Matrix4X4
other Matrix4X4
return Matrix4X4

MultiplyM2() public method

public MultiplyM2 ( Matrix4X4 other, Matrix4X4 dest ) : Matrix4X4
other Matrix4X4
dest Matrix4X4
return Matrix4X4

MultiplyMInv() public method

public MultiplyMInv ( Matrix4X4 other ) : Matrix4X4
other Matrix4X4
return Matrix4X4

Rotate() public method

public Rotate ( float angle, Vector3 axis ) : Matrix4X4
angle float
axis Vector3
return Matrix4X4

RotateX() public method

public RotateX ( float angle ) : Matrix4X4
angle float
return Matrix4X4

RotateY() public method

public RotateY ( float angle ) : Matrix4X4
angle float
return Matrix4X4

RotateZ() public method

public RotateZ ( float angle ) : Matrix4X4
angle float
return Matrix4X4

Scale() public method

public Scale ( Vector3 scale ) : Matrix4X4
scale Vector3
return Matrix4X4

Scale1() public method

public Scale1 ( float value ) : Matrix4X4
value float
return Matrix4X4

SetRotation() public method

public SetRotation ( Vector3 rotation ) : Matrix4X4
rotation Vector3
return Matrix4X4

SetRotation3() public method

public SetRotation3 ( float x, float y, float z ) : Matrix4X4
x float
y float
z float
return Matrix4X4

SetScale1() public method

public SetScale1 ( float value ) : Matrix4X4
value float
return Matrix4X4

SetScale3() public method

public SetScale3 ( float x, float y, float z ) : Matrix4X4
x float
y float
z float
return Matrix4X4

SetTranslate() public method

public SetTranslate ( Vector3 position ) : Matrix4X4
position Vector3
return Matrix4X4

SetTranslate3() public method

public SetTranslate3 ( float x, float y, float z ) : Matrix4X4
x float
y float
z float
return Matrix4X4

TransformV() public method

public TransformV ( Vector3 vect ) : Vector3
vect Vector3
return Vector3

Translate() public method

public Translate ( Vector3 distance ) : Matrix4X4
distance Vector3
return Matrix4X4

Translate3() public method

public Translate3 ( float x, float y, float z ) : Matrix4X4
x float
y float
z float
return Matrix4X4

TranslateInverse() public method

public TranslateInverse ( Vector3 distance ) : Matrix4X4
distance Vector3
return Matrix4X4

Transpose() public method

public Transpose ( ) : Matrix4X4
return Matrix4X4

Property Details

Elements public_oe property

public float[] Elements
return float[]