mirror of
https://github.com/AxioDL/zeus.git
synced 2025-06-05 22:23:40 +00:00
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…
x
Reference in New Issue
Block a user