This commit is contained in:
aap committed 2020-05-25 18:33:34 +02:00
1 parent 8705562559
commit 7bf8337854
33 files changed
+1448 -438

No files matched your search

-13
View File
@@ -4,19 +4,6 @@
// TODO: move more stuff into here
void
CVector2D::Normalise(void)
{
float sq = MagnitudeSqr();
assert(sq != 0.0f); // just be safe here
//if(sq > 0.0f){
float invsqrt = RecipSqrt(sq);
x *= invsqrt;
y *= invsqrt;
//}else
// x = 1.0f;
}
void
CMatrix::SetRotate(float xAngle, float yAngle, float zAngle)
{