C# 클래스 hds.Maths

파일 보기 프로젝트 열기: hdneo/mxo-hd 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

IsInCircle() 공개 메소드

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
리턴 bool

Maths() 공개 메소드

public Maths ( ) : System
리턴 System

RadnomPointInCircle() 공개 메소드

public RadnomPointInCircle ( float xCurrent, float zCurrent, float radius ) : LtVector3f
xCurrent float
zCurrent float
radius float
리턴 LtVector3f

RandomBetween() 공개 메소드

public RandomBetween ( float min, float max ) : float
min float
max float
리턴 float

RandomPointInCircleV2() 공개 메소드

public RandomPointInCircleV2 ( float xCurrent, float zCurrent, float radius ) : LtVector3f
xCurrent float
zCurrent float
radius float
리턴 LtVector3f

RandomPointOnCircle() 공개 메소드

public RandomPointOnCircle ( float xCurrent, float yCurrent, float zCurrent, float radius ) : LtVector3f
xCurrent float
yCurrent float
zCurrent float
radius float
리턴 LtVector3f

currentpos() 공개 메소드

public currentpos ( float init, float destination, int millisecsPassed ) : float
init float
destination float
millisecsPassed int
리턴 float

diceRollOperant() 공개 메소드

public diceRollOperant ( ) : int
리턴 int

distance2Coords() 공개 메소드

public distance2Coords ( float x1, float x2, float z1, float z2 ) : float
x1 float
x2 float
z1 float
z2 float
리턴 float

getByteForDegrees() 공개 메소드

public getByteForDegrees ( int degrees ) : byte
degrees int
리턴 byte

getOppositeDegrees() 공개 메소드

public getOppositeDegrees ( int actual ) : int
actual int
리턴 int