NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches

Description

Provides common utilities.

Namespaces

namespace  cM
 C Math library.
 

Classes

class  cListNd_c
 A doubly-linked list node. See cListMg_c. More...
 
class  cListMg_c
 A doubly-linked list container. See cListNd_c. More...
 
class  cOwnerSetNd_c
 A set node with a pointer to the owning container. See cOwnerSetMg_c. More...
 
class  cOwnerSetMg_c
 A set container. See cOwnerSetNd_c. More...
 
class  cM_rand_c
 Random number generation helper class. More...
 
class  cTreeNd_c
 A tree node. See cTreeMg_c. More...
 
class  cTreeMg_c
 A tree container. See cTreeNd_c. More...
 

Functions

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].
 

Function Documentation

◆ 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()

void UNK_80161880 ( )

[Looks like a badly stripped assert].

Note
Unofficial name.

Definition at line 3 of file c_owner_set.cpp.