mirror of https://github.com/AxioDL/metaforce.git
CGX: Add operator!= for GXColor
This commit is contained in:
parent
bc6cd8627b
commit
51d8b90929
|
@ -19,6 +19,9 @@ constexpr GXColor GX_CLEAR{0, 0, 0, 0};
|
||||||
inline bool operator==(const GXColor& lhs, const GXColor& rhs) noexcept {
|
inline bool operator==(const GXColor& lhs, const GXColor& rhs) noexcept {
|
||||||
return lhs.r == rhs.r && lhs.g == rhs.g && lhs.b == rhs.b && lhs.a == rhs.a;
|
return lhs.r == rhs.r && lhs.g == rhs.g && lhs.b == rhs.b && lhs.a == rhs.a;
|
||||||
}
|
}
|
||||||
|
inline bool operator!=(const GXColor& lhs, const GXColor& rhs) noexcept {
|
||||||
|
return !(lhs == rhs);
|
||||||
|
}
|
||||||
|
|
||||||
static inline void GXPosition3f32(const zeus::CVector3f& v) { GXPosition3f32(v.x(), v.y(), v.z()); }
|
static inline void GXPosition3f32(const zeus::CVector3f& v) { GXPosition3f32(v.x(), v.y(), v.z()); }
|
||||||
static inline void GXNormal3f32(const zeus::CVector3f& v) { GXNormal3f32(v.x(), v.y(), v.z()); }
|
static inline void GXNormal3f32(const zeus::CVector3f& v) { GXNormal3f32(v.x(), v.y(), v.z()); }
|
||||||
|
|
Loading…
Reference in New Issue