Remove debug lines
This commit is contained in:
parent
a144f8ad1e
commit
43066bb730
@ -34,9 +34,6 @@ int main(void) {
|
||||
|
||||
Model obj = load_obj_file(arena, RESOURCE("head.obj"), RESOURCE("head.pnm"),
|
||||
RESOURCE("head_nm.pnm"));
|
||||
// Model obj =
|
||||
// load_obj_file(arena, RESOURCE("polygon.obj"), RESOURCE("grid.pnm"),
|
||||
// NULL);
|
||||
if (IS_INVALID_MODEL(obj)) {
|
||||
return TINY_EXIT_MODEL_LOAD_FAILED;
|
||||
}
|
||||
@ -45,9 +42,6 @@ int main(void) {
|
||||
.ambient = 0.3f,
|
||||
.diffuse = 1.5f,
|
||||
.specular = 2.0f,
|
||||
// .ambient = 1.0f,
|
||||
// .diffuse = 0.0f,
|
||||
// .specular = 0.0f,
|
||||
.shininess = 1.5f,
|
||||
};
|
||||
obj.material = material;
|
||||
|
@ -51,9 +51,6 @@ void load_shaders(void) {
|
||||
get_projection_matrix(PROJECTION_TYPE_ORTHOGRAPHIC);
|
||||
M4x4f perspective_projection =
|
||||
get_projection_matrix(PROJECTION_TYPE_PERSPECTIVE);
|
||||
// M4x4f model_view = mat4x4_identity;
|
||||
// M4x4f orthographic_projection = mat4x4_identity;
|
||||
// M4x4f perspective_projection = mat4x4_identity;
|
||||
|
||||
perspective.model_view = orthographic.model_view = model_view;
|
||||
perspective.projection = perspective_projection;
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "vec.h"
|
||||
#include <assert.h>
|
||||
|
||||
#define DEPTH_MAX 255
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user