C# Class Radegast.Rendering.Math3D

Datei anzeigen Open project: justasabc/UnityOpenSimClient

Public Methods

Method Description
AbovePlane ( double height ) : double[]
BelowPlane ( double height ) : double[]
CreateRotationMatrix ( Quaternion q ) : float[]
CreateSRTMatrix ( System.Vector3 scale, Quaternion q, System.Vector3 pos ) : float[]
CreateScaleMatrix ( System.Vector3 v ) : float[]
CreateTranslationMatrix ( System.Vector3 v ) : float[]
GluProject ( OpenTK objPos, OpenTK modelMatrix, OpenTK projMatrix, int viewport, OpenTK &screenPos ) : bool
GluUnProject ( float winx, float winy, float winz, OpenTK modelMatrix, OpenTK projMatrix, int viewport, OpenTK &pos ) : bool
Lerp ( float matrix1, float matrix2, float amount ) : float[]

Method Details

AbovePlane() public static method

public static AbovePlane ( double height ) : double[]
height double
return double[]

BelowPlane() public static method

public static BelowPlane ( double height ) : double[]
height double
return double[]

CreateRotationMatrix() public static method

public static CreateRotationMatrix ( Quaternion q ) : float[]
q Quaternion
return float[]

CreateSRTMatrix() public static method

public static CreateSRTMatrix ( System.Vector3 scale, Quaternion q, System.Vector3 pos ) : float[]
scale System.Vector3
q Quaternion
pos System.Vector3
return float[]

CreateScaleMatrix() public static method

public static CreateScaleMatrix ( System.Vector3 v ) : float[]
v System.Vector3
return float[]

CreateTranslationMatrix() public static method

public static CreateTranslationMatrix ( System.Vector3 v ) : float[]
v System.Vector3
return float[]

GluProject() public static method

public static GluProject ( OpenTK objPos, OpenTK modelMatrix, OpenTK projMatrix, int viewport, OpenTK &screenPos ) : bool
objPos OpenTK
modelMatrix OpenTK
projMatrix OpenTK
viewport int
screenPos OpenTK
return bool

GluUnProject() public static method

public static GluUnProject ( float winx, float winy, float winz, OpenTK modelMatrix, OpenTK projMatrix, int viewport, OpenTK &pos ) : bool
winx float
winy float
winz float
modelMatrix OpenTK
projMatrix OpenTK
viewport int
pos OpenTK
return bool

Lerp() public static method

public static Lerp ( float matrix1, float matrix2, float amount ) : float[]
matrix1 float
matrix2 float
amount float
return float[]