MathHelper Class |
Namespace: Kit
The MathHelper type exposes the following members.
| Name | Description | |
|---|---|---|
| AngleBetween | Returns the angle between two vectors. | |
| Clamp(Int32, Int32, Int32) | Limits a number between two other numbers. Respects from being larger than to. | |
| Clamp(Single, Single, Single) | Limits a number between two other numbers. | |
| ClampAngle(Single) | Loop an angle around within a -360° to +360° range. | |
| ClampAngle(Single, Single, Single) | Loop an angle around within a -360° to +360° range and limit it between two values. Respects from being larger than to. | |
| ClampDeltaAngle | Loop an angle around within a -180° to +180° range. | |
| GetPositionAtDistance | Returns the point at a certain distance from a another point. | |
| IsInRange(Int32, Int32, Int32) | Returns whether a number is between two other numbers. Respects from being larger than to. | |
| IsInRange(Single, Single, Single) | Returns whether a number is between two other numbers. Respects from being larger than to. | |
| IsInRange(Vector2, Vector2, Vector2) | Returns whether a vector is within a range of two other vectors. | |
| IsInRange(Vector3, Vector3, Vector3) | Returns whether a vector is within a range of two other vectors. | |
| Map | Returns what a value would map down to if its minimum and maximum values are changed. | |
| Rotate | Rotates a point at a given angle. | |
| RotateAround(Vector3, Vector3, Quaternion) | Returns the point when a vector is rotated around another one. | |
| RotateAround(Vector3, Vector3, Vector3) | Returns the point when a vector is rotated around another one. |