Skip to content

Commit

Permalink
Update 3dcube.c
Browse files Browse the repository at this point in the history
  • Loading branch information
maximecb authored Oct 31, 2023
1 parent 58ed633 commit ae5f417
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ncc/examples/3dcube.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ void draw_line3d(vec3 v0, vec3 v1, u32 color)
int x1 = (int)remap(v_tmp[0], -1.0f, 1.0f, 0.0f, (float)FRAME_WIDTH);
int y1 = (int)remap(v_tmp[1], -1.0f, 1.0f, 0.0f, (float)FRAME_HEIGHT);

// TODO: we should handle coordinates that are outside the screen

draw_line(
(u32*)frame_buffer,
FRAME_WIDTH,
Expand Down

0 comments on commit ae5f417

Please sign in to comment.