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();
|
z = input.readFloatBig();
|
||||||
v[3] = 0.0f;
|
v[3] = 0.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static CVector3f ReadBig(athena::io::IStreamReader& input)
|
||||||
|
{
|
||||||
|
CVector3f ret;
|
||||||
|
ret.readBig(input);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
CVector3f(float xyz) {splat(xyz);}
|
CVector3f(float xyz) {splat(xyz);}
|
||||||
|
|
Loading…
Reference in New Issue