This commit is contained in:
Бранимир Караџић
2019-01-03 14:39:41 -08:00
parent fb8a82a5fd
commit e28e458173
3 changed files with 5 additions and 7 deletions

View File

@@ -220,7 +220,7 @@ public:
const uint32_t abgr = m_mwc.gen();
for (uint32_t ii = 0; ii < BX_COUNTOF(s_cubeVertices); ++ii)
{
bx::vec3MulMtx(&vertex[ii].m_x, &s_cubeVertices[ii].m_x, mtx);
bx::store(&vertex[ii].m_x, bx::mul(bx::load<bx::Vec3>(&s_cubeVertices[ii].m_x), mtx) );
vertex[ii].m_abgr = abgr;
}