Inheritance Hierarchy SystemObject Internal.tainicom.Aether.Physics2D.CommonMathUtils
Namespace:
Internal.tainicom.Aether.Physics2D.Common
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static class MathUtils
The MathUtils type exposes the following members.
Methods
| Name | Description |
---|
| Abs | |
| Area(Vector2, Vector2, Vector2) |
Returns a positive number if c is to the left of the line going from a to b.
|
| Area(Vector2, Vector2, Vector2) |
Returns a positive number if c is to the left of the line going from a to b.
|
| Clamp(Int32, Int32, Int32) | |
| Clamp(Single, Single, Single) | |
| Clamp(Vector2, Vector2, Vector2) | |
| Cross(Single, Vector2) | |
| Cross(Vector2, Vector2) | |
| Cross(Vector2, Single) | |
| Cross(Vector2, Vector2) | |
| Cross(Vector3, Vector3) | |
| Cross(Single, Vector2, Vector2) | |
| Cross(Vector2, Vector2, Single) | |
| Dot(Vector2, Vector2) | |
| Dot(Vector3, Vector3) | |
| FloatEquals(Single, Single) | |
| FloatEquals(Single, Single, Single) |
Checks if a floating point Value is equal to another,
within a certain tolerance.
|
| FloatInRange |
Checks if a floating point Value is within a specified
range of values (inclusive).
|
| InvSqrt |
This is a approximate yet fast inverse square-root.
|
| IsCollinear |
Determines if three vertices are collinear (ie. on a straight line)
|
| IsValid(Single) |
This function is used to ensure that a floating point number is
not a NaN or infinity.
|
| IsValid(Vector2) | |
| Mul(Mat22, Vector2) | |
| Mul(Mat22, Vector2) | |
| Mul(Mat33, Vector3) | |
| Mul22 | |
| MulT(Mat22, Vector2) | |
| MulT(Mat22, Vector2) | |
| MulT(Mat22, Mat22, Mat22) | |
| Rot270 | |
| Rot90 | |
| Skew | |
| SwapT | |
| VectorAngle(Vector2, Vector2) | |
| VectorAngle(Vector2, Vector2) |
Return the angle between two vectors on a plane
The angle is from vector 1 to vector 2, positive anticlockwise
The result is between -pi -> pi
|
TopSee Also