bx math API cleanup.

This commit is contained in:
Branimir Karadžić
2018-01-13 15:33:50 -08:00
parent e38c7bfaec
commit 49a75f2fb1
31 changed files with 256 additions and 242 deletions

View File

@@ -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);