Angel 3.2
A 2D Game Prototyping Engine
MathUtil Member List

This is the complete list of members for MathUtil, including all inherited members.

AA_X enum value (defined in MathUtil)MathUtil
AA_Y enum value (defined in MathUtil)MathUtil
AABBSplittingAxis enum name (defined in MathUtil)MathUtil
Abs(T val)MathUtilinlinestatic
AngleFromVector(const Vector2 &v1)MathUtilstatic
AngleFromVectors(const Vector2 &v1, const Vector2 &v2)MathUtilstatic
Clamp(int value, int min, int max)MathUtilinlinestatic
Clamp(float value, float min, float max)MathUtilinlinestatic
Clamp(double value, double min, double max)MathUtilinlinestatic
DeltaAngle(float A1, float A2)MathUtilstatic
Distance(T value1, T value2)MathUtilinlinestatic
EMathUtilstatic
EpsilonMathUtilstatic
FuzzyEquals(float value1, float value2, float epsilon=Epsilon)MathUtilstatic
FuzzyEquals(const Vector2 &v1, const Vector2 &v2, float epsilon=Epsilon)MathUtilstatic
GetMajorAxis(const BoundingBox &source)MathUtilstatic
GetWorldDimensions()MathUtilstatic
Lerp(T value1, T value2, float amount)MathUtilinlinestatic
Log10EMathUtilstatic
Log2EMathUtilstatic
Max(T value1, T value2)MathUtilinlinestatic
MaxFloatMathUtilstatic
Min(T value1, T value2)MathUtilinlinestatic
MinFloatMathUtilstatic
PiMathUtilstatic
PiOver2MathUtilstatic
PiOver4MathUtilstatic
PixelsToWorldUnits(float pixels)MathUtilstatic
RandomBool()MathUtilstatic
RandomFloat(float maximum=1.0f)MathUtilstatic
RandomFloatInRange(float min, float max)MathUtilstatic
RandomFloatWithError(float target, float error)MathUtilstatic
RandomInt(int maximum)MathUtilstatic
RandomIntInRange(int min, int max)MathUtilstatic
RandomIntWithError(int target, int error)MathUtilstatic
RandomPointField(int numPoints, const Vector2 &minValue, const Vector2 &maxValue, float minDistance=0.5f)MathUtilstatic
RandomVector()MathUtilstatic
RandomVector(const Vector2 &maxValues)MathUtilstatic
RandomVector(const Vector2 &minValues, const Vector2 &maxValues)MathUtilstatic
RoundToInt(double x)MathUtilstatic
ScreenToWorld(int x, int y)MathUtilstatic
ScreenToWorld(const Vec2i &screenCoordinates)MathUtilstatic
SmoothStep(T value1, T value2, float amount)MathUtilinlinestatic
SplitBoundingBox(const BoundingBox &source, AABBSplittingAxis axis, BoundingBox &LHS, BoundingBox &RHS)MathUtilstatic
ToDegrees(float radians)MathUtilstatic
ToRadians(float degrees)MathUtilstatic
TwoPiMathUtilstatic
VectorDeltaAngle(const Vector2 &v1, const Vector2 &v2)MathUtilstatic
VectorFromAngle(float angle_in_degrees)MathUtilstatic
WorldToScreen(float x, float y)MathUtilstatic
WorldToScreen(const Vector2 &worldCoordinates)MathUtilstatic
WorldUnitsToPixels(float worldUnits)MathUtilstatic