mirror of https://github.com/AxioDL/zeus.git
Add static ReadRGBABig to CColor
This commit is contained in:
parent
7d77992ed7
commit
17a42c15e2
|
@ -85,6 +85,14 @@ public:
|
|||
CColor& operator=(const CVector4f& other);
|
||||
|
||||
#if ZE_ATHENA_TYPES
|
||||
|
||||
static inline CColor ReadRGBABig(athena::io::IStreamReader& reader)
|
||||
{
|
||||
CColor ret;
|
||||
ret.readRGBABig(reader);
|
||||
return ret;
|
||||
}
|
||||
|
||||
inline void readRGBABig(athena::io::IStreamReader& reader)
|
||||
{
|
||||
r = reader.readFloatBig();
|
||||
|
|
|
@ -70,6 +70,8 @@ public:
|
|||
const CTransform newXf = CTransform::Translate(box.center()) * xf;
|
||||
return COBBox(newXf, extents);
|
||||
}
|
||||
|
||||
bool OBBIntersectsBox(const COBBox& other);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue