mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 22:03:12 +01:00
bx math API cleanup.
This commit is contained in:
@@ -275,9 +275,9 @@ public:
|
||||
|
||||
// Setup lights.
|
||||
float lightPos[4];
|
||||
lightPos[0] = -bx::fcos(time);
|
||||
lightPos[0] = -bx::cos(time);
|
||||
lightPos[1] = -1.0f;
|
||||
lightPos[2] = -bx::fsin(time);
|
||||
lightPos[2] = -bx::sin(time);
|
||||
lightPos[3] = 0.0f;
|
||||
|
||||
bgfx::setUniform(u_lightPos, lightPos);
|
||||
|
||||
Reference in New Issue
Block a user