mirror of https://github.com/AxioDL/zeus.git
Add static stream reader for vector
This commit is contained in:
parent
0c968842ae
commit
ac44f808ce
|
@ -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);}
|
||||
|
|
Loading…
Reference in New Issue