I have list of models and transform matrix for each of them. Some of models are flipped along X or Y or Z axis. This meshes will be rendered wrong, back face is rendered instead of front.
I tried to use
glFrontFace(GL_CW) and that makes wrong models fixed but previous correct models are wrong.
How can I fix this? Can I detect from transform matrix which models need glFrontFace switch?
Right cube and sphere are normal and left are flipped