4#include <basis/seadTypes.h>
26 void setf(f32 _r, f32 _g, f32 _b, f32 _a)
73static_assert(
sizeof(
Color4f) == 0x10,
"sead::Color4f size mismatch");
Definition seadAssert.h:44
Color4f operator*(const Color4f &lhs, const Color4f &rhs)
Definition seadColor.cpp:51
bool operator==(const Color4f &lhs, const Color4f &rhs)
Definition seadColor.cpp:65
Color4f operator*(const Color4f &lhs, f32 rhs)
Definition seadColor.cpp:58
static const f32 cElementMax
Definition seadColor.h:59
f32 r
Definition seadColor.h:48
f32 a
Definition seadColor.h:51
static const f32 cElementMin
Definition seadColor.h:60
static const Color4f cBlack
Definition seadColor.h:62
static const Color4f cCyan
Definition seadColor.h:70
f32 g
Definition seadColor.h:49
static const Color4f cGreen
Definition seadColor.h:66
static const Color4f cBlue
Definition seadColor.h:67
static const Color4f cGray
Definition seadColor.h:63
void setLerp(const Color4f &from, const Color4f &to, f32 ratio)
Definition seadColor.cpp:15
Color4f & operator*=(const Color4f &rhs)
Definition seadColor.cpp:33
static const Color4f cMagenta
Definition seadColor.h:69
Color4f()
Definition seadColor.h:10
Color4f(f32 _r, f32 _g, f32 _b, f32 _a)
Definition seadColor.h:18
f32 c[4]
Definition seadColor.h:55
void setf(f32 _r, f32 _g, f32 _b, f32 _a)
Definition seadColor.h:26
Color4f & operator+=(const Color4f &rhs)
Definition seadColor.cpp:24
static const Color4f cWhite
Definition seadColor.h:64
f32 b
Definition seadColor.h:50
static const Color4f cRed
Definition seadColor.h:65
Color4f & operator*=(f32 rhs)
Definition seadColor.cpp:42
static const Color4f cYellow
Definition seadColor.h:68