Go to the source code of this file.
|
float | Clamp (float val, float min, float max) |
|
float | Lerp (float val1, float val2, float lerp) |
|
D3DXVECTOR2 | CalculateLatLng (D3DXVECTOR3 position) |
|
float | GetArcDist (D3DXVECTOR3 from, D3DXVECTOR3 to, bool includeAltDiff) |
|
D3DXVECTOR3 | GetArcBear (D3DXVECTOR3 vec2, float dist, float altd, D3DXVECTOR3 posnorml) |
|
bool | RectEquality (RECT rect1, RECT rect2) |
|
float | RandomFloat () |
|
◆ CalculateLatLng()
D3DXVECTOR2 CalculateLatLng |
( |
D3DXVECTOR3 |
position | ) |
|
|
inline |
◆ Clamp()
float Clamp |
( |
float |
val, |
|
|
float |
min, |
|
|
float |
max |
|
) |
| |
|
inline |
◆ GetArcBear()
D3DXVECTOR3 GetArcBear |
( |
D3DXVECTOR3 |
vec2, |
|
|
float |
dist, |
|
|
float |
altd, |
|
|
D3DXVECTOR3 |
posnorml |
|
) |
| |
|
inline |
◆ GetArcDist()
float GetArcDist |
( |
D3DXVECTOR3 |
from, |
|
|
D3DXVECTOR3 |
to, |
|
|
bool |
includeAltDiff |
|
) |
| |
|
inline |
https://coredump.sg/tag/distance-bearing-in-c/
Definition at line 37 of file MathUtilities.h.
◆ Lerp()
float Lerp |
( |
float |
val1, |
|
|
float |
val2, |
|
|
float |
lerp |
|
) |
| |
|
inline |
◆ RandomFloat()
◆ RectEquality()
bool RectEquality |
( |
RECT |
rect1, |
|
|
RECT |
rect2 |
|
) |
| |
|
inline |