Provides common utilities.
|
| namespace | cLib |
| | C Math library.
|
| namespace | cM |
| | C Math library.
|
|
| void | cM3d_calcInDivPos1 (const Vec *start, const Vec *dir, float mult, Vec *pos) |
| | Obtains a position given a starting point, a direction and a scalar multiplier.
|
| void | cM3d_calcInDivPos2 (const Vec *a, const Vec *b, float mult, Vec *pos) |
| | Obtains an intermediate position between two given points using a scalar multiplier.
|
| void | UNK_80161880 () |
| | [Looks like a badly stripped assert].
|
◆ cM3d_calcInDivPos1()
| void cM3d_calcInDivPos1 |
( |
const Vec * | start, |
|
|
const Vec * | dir, |
|
|
float | mult, |
|
|
Vec * | pos ) |
Obtains a position given a starting point, a direction and a scalar multiplier.
The function can be summed up as: pos = dir * mult + start
Definition at line 4 of file c_m3d.cpp.
◆ cM3d_calcInDivPos2()
| void cM3d_calcInDivPos2 |
( |
const Vec * | a, |
|
|
const Vec * | b, |
|
|
float | mult, |
|
|
Vec * | pos ) |
Obtains an intermediate position between two given points using a scalar multiplier.
The function can be summed up as: pos = ( b - a ) * mult + a
Definition at line 10 of file c_m3d.cpp.
◆ UNK_80161880()
[Looks like a badly stripped assert].
Definition at line 3 of file c_owner_set.cpp.