summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-12 10:48:00 +0200
committeraap <aap@papnet.eu>2020-08-12 10:48:00 +0200
commit878ffa8998f7fc78064d0e38795f26ee0de57688 (patch)
treef23a40ccb7bfb37a53b8814aca20bd5758f72627
parenttiny postfx cleanup (diff)
downloadre3-878ffa8998f7fc78064d0e38795f26ee0de57688.tar
re3-878ffa8998f7fc78064d0e38795f26ee0de57688.tar.gz
re3-878ffa8998f7fc78064d0e38795f26ee0de57688.tar.bz2
re3-878ffa8998f7fc78064d0e38795f26ee0de57688.tar.lz
re3-878ffa8998f7fc78064d0e38795f26ee0de57688.tar.xz
re3-878ffa8998f7fc78064d0e38795f26ee0de57688.tar.zst
re3-878ffa8998f7fc78064d0e38795f26ee0de57688.zip
-rw-r--r--src/render/Coronas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/Coronas.cpp b/src/render/Coronas.cpp
index df5dfadb..2d621d18 100644
--- a/src/render/Coronas.cpp
+++ b/src/render/Coronas.cpp
@@ -604,8 +604,8 @@ CCoronas::RenderSunReflection(void)
RwIm3DVertexSetRGBA(&TempBufferRenderVertices[TempBufferVerticesStored+1], r, g, b, 255);
RwIm3DVertexSetPos(&TempBufferRenderVertices[TempBufferVerticesStored+1],
- sunPos.x + fwdLen*sunDir.x - sideLen*sunDir.x,
- sunPos.y + fwdLen*sunDir.y + sideLen*sunDir.y,
+ sunPos.x + fwdLen*sunDir.x - sideLen*sunDir.y,
+ sunPos.y + fwdLen*sunDir.y + sideLen*sunDir.x,
sunPos.z);
RwIm3DVertexSetU(&TempBufferRenderVertices[TempBufferVerticesStored+0], 0.0f);