Browse Source

TODO: do not remap any coordinates.

rexim 2 years ago
parent
commit
fa43a2e903
1 changed files with 3 additions and 0 deletions
  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");
     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)
 Vector3 remap_teapot(Vector3 v, float lx, float hx, float ly, float hy, float lz, float hz)
 {
 {
     float scale = 1.0;
     float scale = 1.0;