mirror of https://github.com/AxioDL/zeus.git
Added CVector2f::assign
This commit is contained in:
parent
9885d34420
commit
3d6218a9d2
|
@ -34,7 +34,8 @@ class alignas(16) CVector2f
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
CVector2f(float xy) {splat(xy);}
|
CVector2f(float xy) {splat(xy);}
|
||||||
CVector2f(float x, float y) {v[0] = x; v[1] = y; v[2] = 0; v[3] = 0.0;}
|
void assign(float x, float y) {v[0] = x; v[1] = y; v[2] = 0; v[3] = 0.0;}
|
||||||
|
CVector2f(float x, float y) {assign(x, y);}
|
||||||
#if ZE_ATHENA_TYPES
|
#if ZE_ATHENA_TYPES
|
||||||
CVector2f(Athena::io::IStreamReader& input)
|
CVector2f(Athena::io::IStreamReader& input)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue