mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 17:49:16 +01:00
sun reflection fix
This commit is contained in:
parent
a9935dcd45
commit
878ffa8998
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user