mirror of
https://github.com/halpz/re3.git
synced 2024-12-25 18:05:27 +00: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 a new issue