mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-05 16:14:09 +00:00
VU0 collision
This commit is contained in:
parent
a786dd45a4
commit
abb640c6b6
12 changed files with 2194 additions and 20 deletions
|
@ -1027,7 +1027,9 @@ CShadows::CastShadowEntity(CEntity *pEntity, float fStartX, float fStartY, floa
|
|||
CColTrianglePlane *pColTriPlanes = pCol->trianglePlanes;
|
||||
ASSERT(pColTriPlanes != NULL);
|
||||
|
||||
if ( Abs(pColTriPlanes[i].normal.z) > 0.1f )
|
||||
CVector normal;
|
||||
pColTriPlanes[i].GetNormal(normal);
|
||||
if ( Abs(normal.z) > 0.1f )
|
||||
{
|
||||
CColTriangle *pColTri = pCol->triangles;
|
||||
ASSERT(pColTri != NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue