I have to 3d obect. A country and a car. My conutry in centered from the origin (0,0,0). My car is translated on left with this instruction : “glTranslatef (-10.0, 0.0, 0.0)”
My car is shifted but polygons are drawn from (0,0,0). So my car is deformed.
I would like to shift (glTranslatef (-10.0, 0.0, 0.0)) my car and drawing it from my new origin (-10,0,0 and not 0,0,0)
Thanks for your help