mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Fixed issue #1329.
This commit is contained in:
@@ -1736,10 +1736,10 @@ void createNearClipVolume(float* __restrict _outPlanes24f
|
||||
for (uint8_t ii = 0; ii < 4; ++ii)
|
||||
{
|
||||
float* normal = planeNormals[ii];
|
||||
float* plane = volumePlanes[ii];
|
||||
float* plane = volumePlanes[ii];
|
||||
|
||||
float planeVec[3];
|
||||
bx::vec3Sub(planeVec, corners[ii], corners[(ii-1)%4]);
|
||||
bx::vec3Sub(planeVec, corners[ii], corners[(ii-1)&3]);
|
||||
|
||||
float light[3];
|
||||
float tmp[3];
|
||||
|
||||
Reference in New Issue
Block a user