|
@@ -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;
|