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

@@ -221,9 +221,9 @@ public:
mtx[14] = 0.0f;
float* color = (float*)&data[64];
color[0] = bx::fsin(time+float(xx)/11.0f)*0.5f+0.5f;
color[1] = bx::fcos(time+float(yy)/11.0f)*0.5f+0.5f;
color[2] = bx::fsin(time*3.0f)*0.5f+0.5f;
color[0] = bx::sin(time+float(xx)/11.0f)*0.5f+0.5f;
color[1] = bx::cos(time+float(yy)/11.0f)*0.5f+0.5f;
color[2] = bx::sin(time*3.0f)*0.5f+0.5f;
color[3] = 1.0f;
data += instanceStride;