C# Class SharpMath.float4x4

Afficher le fichier Open project: Patapom/GodComplex Class Usage Examples

Méthodes publiques

Свойство Type Description
m ].float[
ms_Index int[]
ms_RotIndex int[]

Méthodes publiques

Méthode Description
CoFactor ( int _dwRow, int _dwCol ) : float
ComputeRotationMatrix ( float3 _Source, float3 _Target ) : float4x4

Computes the rotation matrix to transform a source vector into a target vector (routine from Thomas Moller)

Determinant ( ) : float
FromEuler ( float3 _EulerAngles ) : void
GetEuler ( ) : float3
GetRotation ( ) : Matrix3x3
GetRow ( int _dwRowIndex ) : float4
GetRow0 ( ) : float4
GetRow1 ( ) : float4
GetRow2 ( ) : float4
GetRow3 ( ) : float4
GetScale ( ) : float3
GetTrans ( ) : Point4D
Invert ( ) : float4x4
IsIdentity ( ) : bool
MakeIdentity ( ) : float4x4
MakeLookAt ( float3 _Position, float3 _Target, float3 _Up ) : float4x4
MakePYR ( float _fPitch, float _fYaw, float _fRoll ) : float4x4
MakeProjectionPerspective ( float _FOVY, float _AspectRatio, float _Near, float _Far ) : float4x4
MakeRotX ( float _fAngle ) : float4x4
MakeRotY ( float _fAngle ) : float4x4
MakeRotZ ( float _fAngle ) : float4x4
MakeZero ( ) : float4x4
Normalize ( ) : float4x4
OrthoNormalize ( ) : void
PYR ( float _fPitch, float _fYaw, float _fRoll ) : float4x4
Parse ( string _Source ) : float4x4
Parse4x3 ( string _Source ) : float4x4
ROT_X ( float _fAngle ) : float4x4
ROT_Y ( float _fAngle ) : float4x4
ROT_Z ( float _fAngle ) : float4x4
Scale ( float3 _Scale ) : float4x4
Set ( Matrix3x3 _Source ) : void
Set ( float _Source ) : void
Set ( float4x4 _Source ) : void
SetRotation ( Matrix3x3 _Rot ) : void
SetRow ( int _dwRowIndex, float3 _Row, float _W ) : void
SetRow ( int _dwRowIndex, float4 _Row ) : void
SetRow0 ( float3 _Row ) : void
SetRow0 ( float4 _Row ) : void
SetRow1 ( float3 _Row ) : void
SetRow1 ( float4 _Row ) : void
SetRow2 ( float3 _Row ) : void
SetRow2 ( float4 _Row ) : void
SetScale ( float3 _Scale ) : void
SetTrans ( Point4D _Trans ) : void
SetTrans ( float3 _Trans ) : void
ToString ( ) : string
ToString4x3 ( ) : string
Trace ( ) : float
Transpose ( ) : float4x4
float4x4 ( ) : System
float4x4 ( Matrix3x3 _Source ) : System
float4x4 ( float _Source ) : System
float4x4 ( float4x4 _Source ) : System
operator ( ) : float4x4
this ( int _CoeffIndex ) : float
this ( int _i, int _j ) : float

Method Details

CoFactor() public méthode

public CoFactor ( int _dwRow, int _dwCol ) : float
_dwRow int
_dwCol int
Résultat float

ComputeRotationMatrix() public static méthode

Computes the rotation matrix to transform a source vector into a target vector (routine from Thomas Moller)
public static ComputeRotationMatrix ( float3 _Source, float3 _Target ) : float4x4
_Source float3 The source vector
_Target float3 The target vector
Résultat float4x4

Determinant() public méthode

public Determinant ( ) : float
Résultat float

FromEuler() public méthode

public FromEuler ( float3 _EulerAngles ) : void
_EulerAngles float3
Résultat void

GetEuler() public méthode

public GetEuler ( ) : float3
Résultat float3

GetRotation() public méthode

public GetRotation ( ) : Matrix3x3
Résultat Matrix3x3

GetRow() public méthode

public GetRow ( int _dwRowIndex ) : float4
_dwRowIndex int
Résultat float4

GetRow0() public méthode

public GetRow0 ( ) : float4
Résultat float4

GetRow1() public méthode

public GetRow1 ( ) : float4
Résultat float4

GetRow2() public méthode

public GetRow2 ( ) : float4
Résultat float4

GetRow3() public méthode

public GetRow3 ( ) : float4
Résultat float4

GetScale() public méthode

public GetScale ( ) : float3
Résultat float3

GetTrans() public méthode

public GetTrans ( ) : Point4D
Résultat Point4D

Invert() public méthode

public Invert ( ) : float4x4
Résultat float4x4

IsIdentity() public méthode

public IsIdentity ( ) : bool
Résultat bool

MakeIdentity() public méthode

public MakeIdentity ( ) : float4x4
Résultat float4x4

MakeLookAt() public méthode

public MakeLookAt ( float3 _Position, float3 _Target, float3 _Up ) : float4x4
_Position float3
_Target float3
_Up float3
Résultat float4x4

MakePYR() public méthode

public MakePYR ( float _fPitch, float _fYaw, float _fRoll ) : float4x4
_fPitch float
_fYaw float
_fRoll float
Résultat float4x4

MakeProjectionPerspective() public méthode

public MakeProjectionPerspective ( float _FOVY, float _AspectRatio, float _Near, float _Far ) : float4x4
_FOVY float
_AspectRatio float
_Near float
_Far float
Résultat float4x4

MakeRotX() public méthode

public MakeRotX ( float _fAngle ) : float4x4
_fAngle float
Résultat float4x4

MakeRotY() public méthode

public MakeRotY ( float _fAngle ) : float4x4
_fAngle float
Résultat float4x4

MakeRotZ() public méthode

public MakeRotZ ( float _fAngle ) : float4x4
_fAngle float
Résultat float4x4

MakeZero() public méthode

public MakeZero ( ) : float4x4
Résultat float4x4

Normalize() public méthode

public Normalize ( ) : float4x4
Résultat float4x4

OrthoNormalize() public méthode

public OrthoNormalize ( ) : void
Résultat void

PYR() public static méthode

public static PYR ( float _fPitch, float _fYaw, float _fRoll ) : float4x4
_fPitch float
_fYaw float
_fRoll float
Résultat float4x4

Parse() public static méthode

public static Parse ( string _Source ) : float4x4
_Source string
Résultat float4x4

Parse4x3() public static méthode

public static Parse4x3 ( string _Source ) : float4x4
_Source string
Résultat float4x4

ROT_X() public static méthode

public static ROT_X ( float _fAngle ) : float4x4
_fAngle float
Résultat float4x4

ROT_Y() public static méthode

public static ROT_Y ( float _fAngle ) : float4x4
_fAngle float
Résultat float4x4

ROT_Z() public static méthode

public static ROT_Z ( float _fAngle ) : float4x4
_fAngle float
Résultat float4x4

Scale() public méthode

public Scale ( float3 _Scale ) : float4x4
_Scale float3
Résultat float4x4

Set() public méthode

public Set ( Matrix3x3 _Source ) : void
_Source Matrix3x3
Résultat void

Set() public méthode

public Set ( float _Source ) : void
_Source float
Résultat void

Set() public méthode

public Set ( float4x4 _Source ) : void
_Source float4x4
Résultat void

SetRotation() public méthode

public SetRotation ( Matrix3x3 _Rot ) : void
_Rot Matrix3x3
Résultat void

SetRow() public méthode

public SetRow ( int _dwRowIndex, float3 _Row, float _W ) : void
_dwRowIndex int
_Row float3
_W float
Résultat void

SetRow() public méthode

public SetRow ( int _dwRowIndex, float4 _Row ) : void
_dwRowIndex int
_Row float4
Résultat void

SetRow0() public méthode

public SetRow0 ( float3 _Row ) : void
_Row float3
Résultat void

SetRow0() public méthode

public SetRow0 ( float4 _Row ) : void
_Row float4
Résultat void

SetRow1() public méthode

public SetRow1 ( float3 _Row ) : void
_Row float3
Résultat void

SetRow1() public méthode

public SetRow1 ( float4 _Row ) : void
_Row float4
Résultat void

SetRow2() public méthode

public SetRow2 ( float3 _Row ) : void
_Row float3
Résultat void

SetRow2() public méthode

public SetRow2 ( float4 _Row ) : void
_Row float4
Résultat void

SetScale() public méthode

public SetScale ( float3 _Scale ) : void
_Scale float3
Résultat void

SetTrans() public méthode

public SetTrans ( Point4D _Trans ) : void
_Trans Point4D
Résultat void

SetTrans() public méthode

public SetTrans ( float3 _Trans ) : void
_Trans float3
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

ToString4x3() public méthode

public ToString4x3 ( ) : string
Résultat string

Trace() public méthode

public Trace ( ) : float
Résultat float

Transpose() public méthode

public Transpose ( ) : float4x4
Résultat float4x4

float4x4() public méthode

public float4x4 ( ) : System
Résultat System

float4x4() public méthode

public float4x4 ( Matrix3x3 _Source ) : System
_Source Matrix3x3
Résultat System

float4x4() public méthode

public float4x4 ( float _Source ) : System
_Source float
Résultat System

float4x4() public méthode

public float4x4 ( float4x4 _Source ) : System
_Source float4x4
Résultat System

operator() public static méthode

public static operator ( ) : float4x4
Résultat float4x4

this() public méthode

public this ( int _CoeffIndex ) : float
_CoeffIndex int
Résultat float

this() public méthode

public this ( int _i, int _j ) : float
_i int
_j int
Résultat float

Property Details

m public_oe property

public float[,] m
Résultat ].float[

ms_Index public_oe static_oe property

public static int[] ms_Index
Résultat int[]

ms_RotIndex public_oe static_oe property

public static int[] ms_RotIndex
Résultat int[]