C# Class Nez.Mathf

ファイルを表示 Open project: prime31/Nez

Private Methods

Method Description
acos ( float f ) : float
angleBetweenVectors ( Vector2 from, Vector2 to ) : float
angleToVector ( float angleRadians, float length ) : Vector2
approach ( float start, float end, float shift ) : float
approximately ( float value1, float value2, float tolerance = epsilon ) : bool
atan2 ( float y, float x ) : float
between ( float value, float min, float max ) : bool
between ( int value, int min, int max ) : bool
ceil ( float f ) : float
ceilToInt ( float f ) : int
clamp ( float value, float min, float max ) : float
clamp ( int value, int min, int max ) : int
clamp01 ( float value ) : float
closestPowerOfTwoGreaterThan ( int x ) : int
cos ( float f ) : float
decrementWithWrap ( int t, int length ) : int
deltaAngle ( float current, float target ) : float
deltaAngleRadians ( float current, float target ) : float
exp ( float power ) : float
fastCeilToInt ( float y ) : int
fastFloorToInt ( float x ) : int
floor ( float f ) : float
floorToInt ( float f ) : int
hypotenuse ( float x, float y ) : float
incrementWithWrap ( int t, int length ) : int
inverseLerp ( float from, float to, float t ) : float
isEven ( int value ) : bool
isOdd ( int value ) : bool
lerp ( float from, float to, float t ) : float
lerpAngle ( float a, float b, float t ) : float
map ( float value, float leftMin, float leftMax, float rightMin, float rightMax ) : float
map01 ( float value, float min, float max ) : float
map10 ( float value, float min, float max ) : float
maxOf ( float a, float b, float c ) : float
maxOf ( float a, float b, float c, float d ) : float
maxOf ( float a, float b, float c, float d, float e ) : float
minOf ( float a, float b, float c ) : float
minOf ( float a, float b, float c, float d ) : float
minOf ( float a, float b, float c, float d, float e ) : float
pingPong ( float t, float length ) : float
pointOnCircle ( Vector2 circleCenter, float radius, float angleInDegrees ) : Vector2
pow ( float x, float y ) : float
repeat ( float t, float length ) : float
rotateAround ( Vector2 point, Vector2 center, float angleInDegrees ) : Vector2
rotateAround ( Vector2 position, float speed ) : Vector2
round ( float f ) : float
roundToInt ( float f ) : int
roundToNearest ( float value, float roundToNearest ) : float
roundWithRoundedAmount ( float value, float &roundedAmount ) : float
signThreshold ( float value, float threshold ) : float
sin ( float f ) : float
snap ( float value, float increment ) : float
snap ( float value, float increment, float offset ) : float
sqrt ( float val ) : float
truncateToInt ( float f ) : int
unclampedLerp ( float from, float to, float t ) : float
withinEpsilon ( float floatA, float floatB ) : bool