summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-10 17:04:57 +0200
committeraap <aap@papnet.eu>2020-08-10 17:04:57 +0200
commit2f987e315e11ee1d93b5f3c2cda3f593c254b373 (patch)
treedb9a108dee34fe6f726a61dc385cbbaf7a32f5b6 /src
parentdrunk blur done (diff)
downloadre3-2f987e315e11ee1d93b5f3c2cda3f593c254b373.tar
re3-2f987e315e11ee1d93b5f3c2cda3f593c254b373.tar.gz
re3-2f987e315e11ee1d93b5f3c2cda3f593c254b373.tar.bz2
re3-2f987e315e11ee1d93b5f3c2cda3f593c254b373.tar.lz
re3-2f987e315e11ee1d93b5f3c2cda3f593c254b373.tar.xz
re3-2f987e315e11ee1d93b5f3c2cda3f593c254b373.tar.zst
re3-2f987e315e11ee1d93b5f3c2cda3f593c254b373.zip
Diffstat (limited to 'src')
-rw-r--r--src/render/ShadowCamera.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/ShadowCamera.cpp b/src/render/ShadowCamera.cpp
index ae94f8ac..f69c234f 100644
--- a/src/render/ShadowCamera.cpp
+++ b/src/render/ShadowCamera.cpp
@@ -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);