summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-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);