Add static ReadRGBABig to CColor

This commit is contained in:
Phillip Stephens 2016-12-22 12:35:29 -08:00
parent 7d77992ed7
commit 17a42c15e2
2 changed files with 10 additions and 0 deletions

View File

@ -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();

View File

@ -70,6 +70,8 @@ public:
const CTransform newXf = CTransform::Translate(box.center()) * xf;
return COBBox(newXf, extents);
}
bool OBBIntersectsBox(const COBBox& other);
};
}