mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
bx math API cleanup.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user