mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-15 20:09:00 +00:00
update librw (shadows are working now)
This commit is contained in:
parent
e57d450809
commit
2f987e315e
2 changed files with 3 additions and 3 deletions
2
librw
2
librw
|
@ -1 +1 @@
|
|||
Subproject commit 99c15d5ed78cc112e1055cc89452dd57df28da58
|
||||
Subproject commit 113d76cfaaf064447ac936f79d91ea04788fca24
|
|
@ -160,7 +160,7 @@ CShadowCamera::SetCenter(RwV3d *center)
|
|||
ASSERT(m_pCamera != nil);
|
||||
|
||||
RwFrame *camFrame = RwCameraGetFrame(m_pCamera);
|
||||
RwMatrix *camMatrix = RwFrameGetMatrix(camFrame);
|
||||
RwMatrix *camMatrix = RwFrameGetMatrix(camFrame);
|
||||
|
||||
*RwMatrixGetPos(camMatrix) = *center;
|
||||
|
||||
|
@ -188,7 +188,7 @@ CShadowCamera::Update(RpClump *clump)
|
|||
|
||||
if ( RwCameraBeginUpdate(m_pCamera) )
|
||||
{
|
||||
geometry = GetFirstAtomic(clump)->geometry;
|
||||
geometry = RpAtomicGetGeometry(GetFirstAtomic(clump));
|
||||
ASSERT(geometry != nil);
|
||||
|
||||
flags = RpGeometryGetFlags(geometry);
|
||||
|
|
Loading…
Reference in a new issue