diff options
author | aap <aap@papnet.eu> | 2020-08-10 17:04:57 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-08-10 17:04:57 +0200 |
commit | 2f987e315e11ee1d93b5f3c2cda3f593c254b373 (patch) | |
tree | db9a108dee34fe6f726a61dc385cbbaf7a32f5b6 /src | |
parent | drunk blur done (diff) | |
download | re3-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 '')
-rw-r--r-- | src/render/ShadowCamera.cpp | 4 |
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); |