cosmetics

This commit is contained in:
Ian Curtis 2016-12-22 22:11:19 +00:00
parent 72dd0dbf98
commit c82dc55485
2 changed files with 3 additions and 3 deletions

View file

@ -1293,7 +1293,7 @@ void CNew3D::CalcTexOffset(int offX, int offY, int page, int x, int y, int& newX
newY += ((oldPage + page) & 1) * 1024; // max page 0-1 newY += ((oldPage + page) & 1) * 1024; // max page 0-1
} }
void CNew3D::CalcFrustumPlanes(Plane p[6], const float* matrix) void CNew3D::CalcFrustumPlanes(Plane p[4], const float* matrix)
{ {
// Left Plane // Left Plane
p[0].a = matrix[3] + matrix[0]; p[0].a = matrix[3] + matrix[0];

View file

@ -229,11 +229,11 @@ private:
V4::Vec4 points[8]; V4::Vec4 points[8];
}; };
void CalcFrustumPlanes (Plane p[6], const float* matrix); void CalcFrustumPlanes (Plane p[4], const float* matrix);
void CalcBox (float distance, BBox& box); void CalcBox (float distance, BBox& box);
void TransformBox (const float *m, BBox& box); void TransformBox (const float *m, BBox& box);
void MultVec (const float matrix[16], const float in[4], float out[4]); void MultVec (const float matrix[16], const float in[4], float out[4]);
Clip ClipBox (BBox& box, Plane planes[6]); Clip ClipBox (BBox& box, Plane planes[4]);
}; };
} // New3D } // New3D