|
@@ -207,8 +207,9 @@ namespace Framework
|
|
const float cosTheta = lowPrecisionCos( radian );
|
|
const float cosTheta = lowPrecisionCos( radian );
|
|
const float sinTheta = lowPrecisionSin( radian );
|
|
const float sinTheta = lowPrecisionSin( radian );
|
|
float x = cosTheta * this->x + -sinTheta * this->y;
|
|
float x = cosTheta * this->x + -sinTheta * this->y;
|
|
|
|
+ float y = sinTheta * this->x + cosTheta * this->y;
|
|
this->x = (T)x;
|
|
this->x = (T)x;
|
|
- this->z = (T)z;
|
|
|
|
|
|
+ this->y = (T)y;
|
|
return *this;
|
|
return *this;
|
|
}
|
|
}
|
|
};
|
|
};
|