|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
#include <game/mLib/m_color.hpp>
A 32-bit RGBA color.
Definition at line 6 of file m_color.hpp.
Public Member Functions | |
| mColor () | |
| Creates the default color. | |
| mColor (nw4r::ut::Color color) | |
| Creates a color from from a base nw4r::ut::Color instance. | |
| void | lerp (const GXColor &c1, const GXColor &c2, float t) |
| Linearly interpolates all RGBA channels between two color values. | |
|
inline |
Creates the default color.
Definition at line 8 of file m_color.hpp.
|
inline |
Creates a color from from a base nw4r::ut::Color instance.
Definition at line 9 of file m_color.hpp.
| void mColor::lerp | ( | const GXColor & | c1, |
| const GXColor & | c2, | ||
| float | t ) |
Linearly interpolates all RGBA channels between two color values.
| c1 | The first color. |
| c2 | The second color. |
| t | The blend weight, between 0.0f and 1.0f. |
Definition at line 3 of file m_color.cpp.