mirror of https://github.com/AxioDL/zeus.git
Fix incorrect division operator
This commit is contained in:
parent
9130bf977e
commit
bb9b4c83af
|
@ -131,7 +131,7 @@ public:
|
||||||
|
|
||||||
const CVector2f& operator/=(float rhs) {
|
const CVector2f& operator/=(float rhs) {
|
||||||
float oorhs = 1.f / rhs;
|
float oorhs = 1.f / rhs;
|
||||||
mSimd /= simd<float>(oorhs);
|
mSimd *= simd<float>(oorhs);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue