Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
sun reflection fix
  • Loading branch information
aap committed Aug 12, 2020
1 parent a9935dc commit 878ffa8998f7fc78064d0e38795f26ee0de57688
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);

0 comments on commit 878ffa8

Please sign in to comment.