C# Class hds.Maths

Afficher le fichier Open project: hdneo/mxo-hd Class Usage Examples

Méthodes publiques

Méthode Description
IsInCircle ( float src_x, float src_z, float otherpoint_x, float otherpoint_z, float radius ) : bool
Maths ( ) : System
RadnomPointInCircle ( float xCurrent, float zCurrent, float radius ) : LtVector3f
RandomBetween ( float min, float max ) : float
RandomPointInCircleV2 ( float xCurrent, float zCurrent, float radius ) : LtVector3f
RandomPointOnCircle ( float xCurrent, float yCurrent, float zCurrent, float radius ) : LtVector3f
currentpos ( float init, float destination, int millisecsPassed ) : float
diceRollOperant ( ) : int
distance2Coords ( float x1, float x2, float z1, float z2 ) : float
getByteForDegrees ( int degrees ) : byte
getOppositeDegrees ( int actual ) : int

Method Details

IsInCircle() public méthode

public IsInCircle ( float src_x, float src_z, float otherpoint_x, float otherpoint_z, float radius ) : bool
src_x float
src_z float
otherpoint_x float
otherpoint_z float
radius float
Résultat bool

Maths() public méthode

public Maths ( ) : System
Résultat System

RadnomPointInCircle() public méthode

public RadnomPointInCircle ( float xCurrent, float zCurrent, float radius ) : LtVector3f
xCurrent float
zCurrent float
radius float
Résultat LtVector3f

RandomBetween() public méthode

public RandomBetween ( float min, float max ) : float
min float
max float
Résultat float

RandomPointInCircleV2() public méthode

public RandomPointInCircleV2 ( float xCurrent, float zCurrent, float radius ) : LtVector3f
xCurrent float
zCurrent float
radius float
Résultat LtVector3f

RandomPointOnCircle() public méthode

public RandomPointOnCircle ( float xCurrent, float yCurrent, float zCurrent, float radius ) : LtVector3f
xCurrent float
yCurrent float
zCurrent float
radius float
Résultat LtVector3f

currentpos() public méthode

public currentpos ( float init, float destination, int millisecsPassed ) : float
init float
destination float
millisecsPassed int
Résultat float

diceRollOperant() public méthode

public diceRollOperant ( ) : int
Résultat int

distance2Coords() public méthode

public distance2Coords ( float x1, float x2, float z1, float z2 ) : float
x1 float
x2 float
z1 float
z2 float
Résultat float

getByteForDegrees() public méthode

public getByteForDegrees ( int degrees ) : byte
degrees int
Résultat byte

getOppositeDegrees() public méthode

public getOppositeDegrees ( int actual ) : int
actual int
Résultat int