Static Public Member Functions | |
static void | RotateX3 (ref Vertex3f v, float angle) |
static void | RotateY3 (ref Vertex3f v, float angle) |
static void | RotateZ3 (ref Vertex3f v, float angle) |
static float | DotProduct (ref Vertex3f v1, ref Vertex3f v2) |
static float | DotProduct (Vertex3f v1, Vertex3f v2) |
static void | Subtract (ref Vertex3f v1, ref Vertex3f v2, out Vertex3f v) |
static void | CrossProduct (ref Vertex3f v1, ref Vertex3f v2, out Vertex3f v) |
static Vertex3f | CrossProduct (ref Vertex3f v1, ref Vertex3f v2) |
static Vertex3f | CrossProduct (Vertex3f v1, Vertex3f v2) |
static void | Normalize (ref Vertex3f v) |
static void | MatrixRotateX4 (ref float[] m, float angle) |
static void | MatrixRotateY4 (ref float[] m, float angle) |
static void | SetMatrixIdentity (ref float[] m) |
static void | MatrixInvert (ref float[] m) |
static float[] | GetInverseMatrix (float[] m) |
static Vertex3f | MatrixTransform (ref float[] m, Vertex3f v) |
static void | MatrixMult4f (ref float[] resMatrix, ref float[] m2) |
static void | MatrixMult (ref float[] matrix, ref Vertex4f v, out Vertex4f resVertex) |
static void | CalcFaceNormal (ref Vertex3f vertex1, ref Vertex3f vertex2, ref Vertex3f vertex3, out Vertex3f faceNormal) |
static Vertex3f | CalcFaceNormal (ref Vertex3f vertex1, ref Vertex3f vertex2, ref Vertex3f vertex3) |
static Vertex3f | Min (Vertex3f v1, Vertex3f v2) |
static Vertex3f | Max (Vertex3f v1, Vertex3f v2) |
static float | Max (float v1, float v2) |
static float | Min (float v1, float v2) |
static Vertex3f | MinGL (ref Vertex3f v1, ref Vertex3f v2) |
static Vertex3f | MaxGL (ref Vertex3f v1, ref Vertex3f v2) |
static float | Mix (float v1, float v2, float amount) |
static float | Mix (ref float v1, ref float v2, ref float amount) |
static Vertex3f | Mix (ref Vertex3f v1, ref Vertex3f v2, float amount) |
static Vertex3f | Mix (ref Vertex3f v1, ref Vertex3f v2, ref Vertex3f amount, bool swapAmount) |
static Vertex3f | Mix (Vertex3f v1, Vertex3f v2, Vertex3f amount) |
static Vertex3f | Mix (Vertex3f v1, Vertex3f v2, float amount) |
Static Public Attributes | |
static double | HalfPI = 1.57079632679489661923 |
static double | TwoPI = 6.2831853071795864769 |
static double | InvTwoPI = 0.1591549430918953358 |
static double | InvPI = 0.3183098861837906715 |
static Vertex3f Powertek.OpenGl.PtMath3d.CalcFaceNormal | ( | ref Vertex3f | vertex1, | |
ref Vertex3f | vertex2, | |||
ref Vertex3f | vertex3 | |||
) | [static] |
Calculate FaceNormal.
vertex1 | ||
vertex2 | ||
vertex3 |
static void Powertek.OpenGl.PtMath3d.CalcFaceNormal | ( | ref Vertex3f | vertex1, | |
ref Vertex3f | vertex2, | |||
ref Vertex3f | vertex3, | |||
out Vertex3f | faceNormal | |||
) | [static] |
Calculate FaceNormal.
vertex1 | ||
vertex2 | ||
vertex3 | ||
faceNormal |
CrossProduct.
v1 | ||
v2 |
CrossProduct.
v1 | ||
v2 |
static void Powertek.OpenGl.PtMath3d.CrossProduct | ( | ref Vertex3f | v1, | |
ref Vertex3f | v2, | |||
out Vertex3f | v | |||
) | [static] |
CrossProduct.
v1 | ||
v2 | ||
v |
DotProduct.
v1 | ||
v2 |
DotProduct.
v1 | ||
v2 |
static float [] Powertek.OpenGl.PtMath3d.GetInverseMatrix | ( | float[] | m | ) | [static] |
GetInverseMatrix.
m |
static void Powertek.OpenGl.PtMath3d.MatrixInvert | ( | ref float[] | m | ) | [static] |
Get Inverse of the Matrix, 2nd Version, this wont work for shadowmapping.
m |
static void Powertek.OpenGl.PtMath3d.MatrixMult | ( | ref float[] | matrix, | |
ref Vertex4f | v, | |||
out Vertex4f | resVertex | |||
) | [static] |
MatrixMult.
matrix | ||
v | ||
resVertex |
static void Powertek.OpenGl.PtMath3d.MatrixMult4f | ( | ref float[] | resMatrix, | |
ref float[] | m2 | |||
) | [static] |
Matrix Multiply.
resMatrix | ||
m2 |
static void Powertek.OpenGl.PtMath3d.MatrixRotateX4 | ( | ref float[] | m, | |
float | angle | |||
) | [static] |
MatrixRotateX4.
m | ||
angle |
static void Powertek.OpenGl.PtMath3d.MatrixRotateY4 | ( | ref float[] | m, | |
float | angle | |||
) | [static] |
MatrixRotateY4.
m | ||
angle |
Transform the Matrix.
m | ||
v |
static float Powertek.OpenGl.PtMath3d.Max | ( | float | v1, | |
float | v2 | |||
) | [static] |
Return the max of two floats.
v1 | ||
v2 |
Return the max combination of two vertices.
v1 | ||
v2 |
Return the max of two OpenGl Vertices (-Z).
v1 | ||
v2 |
static float Powertek.OpenGl.PtMath3d.Min | ( | float | v1, | |
float | v2 | |||
) | [static] |
Return the min of two floats.
v1 | ||
v2 |
Return the min combination of two vertices.
v1 | ||
v2 |
Return the min of two OpenGl Vertices (-Z).
v1 | ||
v2 |
linear mix of two vertices
v1 | ||
v2 | ||
amount | range 0..1 |
linear mix of two vertices
v1 | ||
v2 | ||
amount | range 0..1 |
static Vertex3f Powertek.OpenGl.PtMath3d.Mix | ( | ref Vertex3f | v1, | |
ref Vertex3f | v2, | |||
ref Vertex3f | amount, | |||
bool | swapAmount | |||
) | [static] |
linear mix of two vertices
v1 | ||
v2 | ||
amount | 0..1 | |
swapAmount |
static Vertex3f Powertek.OpenGl.PtMath3d.Mix | ( | ref Vertex3f | v1, | |
ref Vertex3f | v2, | |||
float | amount | |||
) | [static] |
linear mix of two vertices
v1 | ||
v2 | ||
amount | range 0..1 |
static float Powertek.OpenGl.PtMath3d.Mix | ( | ref float | v1, | |
ref float | v2, | |||
ref float | amount | |||
) | [static] |
linear mix of two floats
v1 | ||
v2 | ||
amount | range 0..1 |
static float Powertek.OpenGl.PtMath3d.Mix | ( | float | v1, | |
float | v2, | |||
float | amount | |||
) | [static] |
linear mix of two floats
v1 | ||
v2 | ||
amount | range 0..1 |
static void Powertek.OpenGl.PtMath3d.Normalize | ( | ref Vertex3f | v | ) | [static] |
Normalize.
v |
static void Powertek.OpenGl.PtMath3d.RotateX3 | ( | ref Vertex3f | v, | |
float | angle | |||
) | [static] |
Vector RotateX3.
v | ||
angle |
static void Powertek.OpenGl.PtMath3d.RotateY3 | ( | ref Vertex3f | v, | |
float | angle | |||
) | [static] |
Vector RotateY3.
v | ||
angle |
static void Powertek.OpenGl.PtMath3d.RotateZ3 | ( | ref Vertex3f | v, | |
float | angle | |||
) | [static] |
Vector RotateZ3.
v | ||
angle |
static void Powertek.OpenGl.PtMath3d.SetMatrixIdentity | ( | ref float[] | m | ) | [static] |
Set Identity Matrix.
m |
static void Powertek.OpenGl.PtMath3d.Subtract | ( | ref Vertex3f | v1, | |
ref Vertex3f | v2, | |||
out Vertex3f | v | |||
) | [static] |
Subtract.
v1 | ||
v2 | ||
v |
double Powertek.OpenGl.PtMath3d.HalfPI = 1.57079632679489661923 [static] |
HalfPI.
double Powertek.OpenGl.PtMath3d.InvPI = 0.3183098861837906715 [static] |
InvPI.
double Powertek.OpenGl.PtMath3d.InvTwoPI = 0.1591549430918953358 [static] |
InvTwoPI.
double Powertek.OpenGl.PtMath3d.TwoPI = 6.2831853071795864769 [static] |
TwoPI.