diff options
Diffstat (limited to 'src/resources/obj.c')
-rw-r--r-- | src/resources/obj.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/resources/obj.c b/src/resources/obj.c index 87d3ed6..e5b2fc9 100644 --- a/src/resources/obj.c +++ b/src/resources/obj.c @@ -260,7 +260,8 @@ bool model_load_obj_str(const char *file_string, Str8 relative_path, Model *out_ // // } // // DEBUG("Loaded submesh\n vertices: %zu\n uvs: %zu\n normals: %zu\n faces: %zu", -// // vec3_darray_len(tmp_positions), vec2_darray_len(tmp_uvs), vec3_darray_len(tmp_normals), +// // vec3_darray_len(tmp_positions), vec2_darray_len(tmp_uvs), +// vec3_darray_len(tmp_normals), // // face_darray_len(tmp_faces)); // // // Clear current object faces @@ -339,7 +340,8 @@ bool model_load_obj_str(const char *file_string, Str8 relative_path, Model *out_ // // ¤t_material.ambient_colour.y, ¤t_material.ambient_colour.z); // // } else if (strcmp(line_header, "Kd") == 0) { // // // diffuse -// // sscanf(pch + offset, "%f %f %f", ¤t_material.diffuse.x, ¤t_material.diffuse.y, +// // sscanf(pch + offset, "%f %f %f", ¤t_material.diffuse.x, +// ¤t_material.diffuse.y, // // ¤t_material.diffuse.z); // // } else if (strcmp(line_header, "Ks") == 0) { // // // specular |