mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-03-06 14:27:44 +00:00
cosmetics
This commit is contained in:
parent
72dd0dbf98
commit
c82dc55485
|
@ -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
|
||||
}
|
||||
|
||||
void CNew3D::CalcFrustumPlanes(Plane p[6], const float* matrix)
|
||||
void CNew3D::CalcFrustumPlanes(Plane p[4], const float* matrix)
|
||||
{
|
||||
// Left Plane
|
||||
p[0].a = matrix[3] + matrix[0];
|
||||
|
|
|
@ -229,11 +229,11 @@ private:
|
|||
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 TransformBox (const float *m, BBox& box);
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue