mirror of https://github.com/AxioDL/zeus.git
Add some static athena readers
This commit is contained in:
parent
caff50dfa5
commit
a7545579cc
|
@ -90,6 +90,13 @@ public:
|
|||
m[1][2] = input.readFloatBig();
|
||||
m[2][2] = input.readFloatBig();
|
||||
}
|
||||
|
||||
static CMatrix3f ReadBig(athena::io::IStreamReader& input)
|
||||
{
|
||||
CMatrix3f ret;
|
||||
ret.readBig(input);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
CMatrix3f(const CVector3f& axis, float angle);
|
||||
CMatrix3f(const CQuaternion& quat);
|
||||
|
|
|
@ -80,6 +80,13 @@ public:
|
|||
v[2] = 0.0f;
|
||||
v[3] = 0.0f;
|
||||
}
|
||||
|
||||
static CVector2f ReadBig(athena::io::IStreamReader& input)
|
||||
{
|
||||
CVector2f ret;
|
||||
ret.readBig(input);
|
||||
return ret;
|
||||
}
|
||||
#endif
|
||||
|
||||
CVector2f(float xy) { splat(xy); }
|
||||
|
|
Loading…
Reference in New Issue