C# Class OOGL.Matrix4Helper

Show file Open project: tpb3d/TPB3D

Public Methods

Method Description
CreateOrthographicProjection ( float left, float right, float top, float bottom, float near, float far ) : Matrix4
ToOpenGL ( Matrix4 source ) : float[]
ToOpenGL ( Matrix4 source, float &destination ) : void

Method Details

CreateOrthographicProjection() public static method

public static CreateOrthographicProjection ( float left, float right, float top, float bottom, float near, float far ) : Matrix4
left float
right float
top float
bottom float
near float
far float
return Matrix4

ToOpenGL() public static method

public static ToOpenGL ( Matrix4 source ) : float[]
source Matrix4
return float[]

ToOpenGL() public static method

public static ToOpenGL ( Matrix4 source, float &destination ) : void
source Matrix4
destination float
return void