inverse order of triangle for render the mesh
remove unused code