Closed Peach1 closed 4 years ago
Animated models displayed incorrectly because jointByteStride was not correct, /sizeof(float) was wrong because bufferJoints array is uint16_t, not float (sizeof(uint16_t) is 2; sizeof(float) is 4)
uint16_t
float
sizeof(uint16_t)
sizeof(float)
Thx for your PR. Very much appreciated.
Animated models displayed incorrectly because jointByteStride was not correct, /sizeof(float) was wrong because bufferJoints array is
uint16_t
, notfloat
(sizeof(uint16_t)
is 2;sizeof(float)
is 4)