C# Class HelloWebGL.Matrix4

Mostra file Open project: markusjohnsson/JSIL.Hacks Class Usage Examples

Public Properties

Property Type Description
M11 double
M21 double
M31 double
M41 double

Public Methods

Method Description
Matrix4 ( ) : System
Multiply ( Matrix4 matrix ) : Matrix4
Perspective ( double fovy, double aspect, double near, double far ) : Matrix4
ToArray ( ) : double[]
Translate ( double x, double y, double z ) : Matrix4

Private Methods

Method Description
Frustum ( double left, double right, double bottom, double top, double near, double far ) : Matrix4

Method Details

Matrix4() public method

public Matrix4 ( ) : System
return System

Multiply() public method

public Multiply ( Matrix4 matrix ) : Matrix4
matrix Matrix4
return Matrix4

Perspective() public static method

public static Perspective ( double fovy, double aspect, double near, double far ) : Matrix4
fovy double
aspect double
near double
far double
return Matrix4

ToArray() public method

public ToArray ( ) : double[]
return double[]

Translate() public static method

public static Translate ( double x, double y, double z ) : Matrix4
x double
y double
z double
return Matrix4

Property Details

M11 public_oe property

public double M11
return double

M21 public_oe property

public double M21
return double

M31 public_oe property

public double M31
return double

M41 public_oe property

public double M41
return double