Ver Fonte

TODO: do not remap any coordinates.

rexim há 2 anos atrás
pai
commit
fa43a2e903
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      obj2c.c

+ 3 - 0
obj2c.c

@@ -145,6 +145,9 @@ void generate_code(FILE *out, Vertices vertices, Faces faces)
     fprintf(out, "#endif // OBJ_H_\n");
 }
 
+// TODO: do not remap any coordinates.
+// The Cup 3D demo should just properly scale and place the object in the scene instead.
+// Otherwise we end up with distorted model.
 Vector3 remap_teapot(Vector3 v, float lx, float hx, float ly, float hy, float lz, float hz)
 {
     float scale = 1.0;