update librw (shadows are working now)

This commit is contained in:
aap 2020-08-10 17:04:57 +02:00
parent e57d450809
commit 2f987e315e
2 changed files with 3 additions and 3 deletions

2
librw

@ -1 +1 @@
Subproject commit 99c15d5ed78cc112e1055cc89452dd57df28da58
Subproject commit 113d76cfaaf064447ac936f79d91ea04788fca24

View File

@ -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);