Skip to content

Commit

Permalink
lookat() function now compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
maximecb committed Oct 21, 2023
1 parent 4714353 commit 0f3e71a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ncc/include/uvm/3dmath.h
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ void mat44_transform(mat44 mat, vec3 in, vec3 out)
}
}

// FIXME: ncc doesn't support local array variables yet
/*
void lookat(vec3 eye, vec3 target, vec3 up, mat44 result)
{
vec3 forward;
Expand Down Expand Up @@ -205,7 +203,6 @@ void lookat(vec3 eye, vec3 target, vec3 up, mat44 result)
result[2][3] = 0.0f;
result[3][3] = 1.0f;
}
*/

// Generate a perspective projection matrix
// This is used to project coordinates from eye space into clip space.
Expand Down

0 comments on commit 0f3e71a

Please sign in to comment.