Undo fmac which worked out slower

This commit is contained in:
Luke Benstead 2020-05-08 13:53:56 +01:00
parent ab6725c5e3
commit 1289a06279

View File

@ -147,9 +147,9 @@ static void _readVertexData1i3f(const GLubyte* in, GLubyte* out) {
input.value = *((const GLint*) in);
output[0] = (MATH_fmac(2.0f, (float) input.bits.x, 1.0f)) * MULTIPLIER;
output[1] = (MATH_fmac(2.0f, (float) input.bits.y, 1.0f)) * MULTIPLIER;
output[2] = (MATH_fmac(2.0f, (float) input.bits.z, 1.0f)) * MULTIPLIER;
output[0] = (2.0f * (float) input.bits.x + 1.0f) * MULTIPLIER;
output[1] = (2.0f * (float) input.bits.y + 1.0f) * MULTIPLIER;
output[2] = (2.0f * (float) input.bits.z + 1.0f) * MULTIPLIER;
}
static void _readVertexData3us3f(const GLubyte* in, GLubyte* out) {