|
Ritchie's Abstractions 0.2
Platform abstractions that make Toolbox work
|
Static class containing various mathematical constants and functions. More...
Static Public Member Functions | |
| static Vector2 | ToVector2 (this Point point) |
| Convert a Point value to a Vector2 value. | |
| static Point | ToPoint (this Vector2 vector) |
| Convert a Vector2 to a Point. | |
| static float | Lerp (float a, float b, float value) |
| Linear interpolation between two floating-point values. | |
| static double | Lerp (double a, double b, float value) |
| Linear interpolation between two double-precision floating-point values. | |
| static byte | Lerp (byte a, byte b, float value) |
| Linear interpolation between two bytes. | |
| static short | Lerp (short a, short b, float value) |
| Linear interpolation between two signed 16-bit integers. | |
| static int | Lerp (int a, int b, float value) |
| Linear interpolation between two signed 32-bit integers. | |
| static long | Lerp (long a, long b, float value) |
| Linear interpolation between two signed 64-bit integers. | |
| static sbyte | Lerp (sbyte a, sbyte b, float value) |
| Linear interpolation between two signed bytes. | |
| static ushort | Lerp (ushort a, ushort b, float value) |
| Linear interpolation between two unsigned 16-bit integers. | |
| static uint | Lerp (uint a, uint b, float value) |
| Linear interpolation between two unsigned 32-bit integers. | |
| static ulong | Lerp (ulong a, ulong b, float value) |
| Linear interpolation between two unsigned 64-bit integers. | |
Static class containing various mathematical constants and functions.
|
inlinestatic |
Linear interpolation between two bytes.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two double-precision floating-point values.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two floating-point values.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two signed 32-bit integers.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two signed 64-bit integers.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two signed bytes.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two signed 16-bit integers.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two unsigned 32-bit integers.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two unsigned 64-bit integers.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
Linear interpolation between two unsigned 16-bit integers.
| a | The value to start from |
| b | The value to end at |
| value | A value between 0 and 1 representing the progress between the start and end values. |
|
inlinestatic |
|
inlinestatic |
Convert a Point value to a Vector2 value.
| point | The point to convert. |