mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-05 13:14:09 +00:00
PlayerInfo functions reordered into original order, FindPlayer... functions moved to PlayerInfo, improved CVector <-> RwV3d conversion, small fixes
This commit is contained in:
parent
2903ebe296
commit
cfda5eb148
30 changed files with 449 additions and 482 deletions
|
@ -2229,7 +2229,7 @@ CShadows::CastShadowEntityXYZ(CEntity *pEntity, CVector *pPosn,
|
|||
sphere.Set(2.0f, center);
|
||||
|
||||
RwV3d point;
|
||||
RwV3dTransformPoints(&point, center, 1, &invMatrix);
|
||||
RwV3dTransformPoints(&point, ¢er, 1, &invMatrix);
|
||||
|
||||
CColSphere colSphere;
|
||||
colSphere.Set(2.0f, CVector(point), 0, 0);
|
||||
|
@ -2252,7 +2252,7 @@ CShadows::CastShadowEntityXYZ(CEntity *pEntity, CVector *pPosn,
|
|||
p[1] += offset;
|
||||
p[2] += offset;
|
||||
|
||||
if ( !ShadowRenderTriangleCB((RwV3d *)p, n, &proj) )
|
||||
if ( !ShadowRenderTriangleCB(p, &n, &proj) )
|
||||
break;
|
||||
}
|
||||
i++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue