Add static stream reader for vector

This commit is contained in:
Jack Andersen 2016-04-24 19:03:05 -10:00
parent 0c968842ae
commit ac44f808ce
1 changed files with 7 additions and 0 deletions

View File

@ -73,6 +73,13 @@ public:
z = input.readFloatBig();
v[3] = 0.0f;
}
static CVector3f ReadBig(athena::io::IStreamReader& input)
{
CVector3f ret;
ret.readBig(input);
return ret;
}
#endif
CVector3f(float xyz) {splat(xyz);}