메소드 | 설명 | |
---|---|---|
IsPowerOfTwo ( int numberToCheck ) : bool | ||
RotatePointAroundPoint ( Point basePoint, Point &pointToRotate, float radiansToChangeBy ) : void |
Rotates a Point around another Point by a given number of radians.
|
|
RotatePointAroundPoint ( Vector3 basePoint, Vector3 &pointToRotate, float radiansToChangeBy ) : void | ||
RoundFloat ( float valueToRound, float multipleOf ) : float | ||
RoundToInt ( double doubleToRound ) : int | ||
RoundToInt ( float floatToRound ) : int |
public static IsPowerOfTwo ( int numberToCheck ) : bool | ||
numberToCheck | int | |
리턴 | bool |
public static RotatePointAroundPoint ( Point basePoint, Point &pointToRotate, float radiansToChangeBy ) : void | ||
basePoint | Point | Point to rotate around. |
pointToRotate | Point | Point to rotate (changes position). |
radiansToChangeBy | float | Radians to rotate by. |
리턴 | void |
public static RotatePointAroundPoint ( Vector3 basePoint, Vector3 &pointToRotate, float radiansToChangeBy ) : void | ||
basePoint | Vector3 | |
pointToRotate | Vector3 | |
radiansToChangeBy | float | |
리턴 | void |
public static RoundFloat ( float valueToRound, float multipleOf ) : float | ||
valueToRound | float | |
multipleOf | float | |
리턴 | float |
public static RoundToInt ( double doubleToRound ) : int | ||
doubleToRound | double | |
리턴 | int |
public static RoundToInt ( float floatToRound ) : int | ||
floatToRound | float | |
리턴 | int |