Fixed conversion from double to glfloat