Commit Graph

20 Commits

Author SHA1 Message Date
abdelrahman b81304e759 Switch to using transformation matrices 2024-06-30 02:40:04 +01:00
abdelrahman 0911b33981 Add another cube instance 2024-06-29 20:13:30 +01:00
abdelrahman 946ea9c307 Add model and instance data types 2024-06-29 20:04:52 +01:00
abdelrahman 7f251e7704 Draw cube using vertices and triangles lists 2024-06-29 19:28:57 +01:00
abdelrahman fa5453d399 Add render_object function 2024-06-29 19:28:41 +01:00
abdelrahman 33b89a9e44 Fix list type naming 2024-06-29 18:28:41 +01:00
abdelrahman d5a18828c5 Rename arena to frame_arena 2024-06-29 17:47:04 +01:00
abdelrahman c9f3c6ab01 Add colour field to triangle 2024-06-29 17:46:50 +01:00
abdelrahman 96c5d21f79 Adjust cube colours 2024-06-29 17:16:48 +01:00
abdelrahman f922980232 Projection equation and first cube 2024-06-29 17:11:31 +01:00
abdelrahman 6dc609be14 Update wireframe triangle colour 2024-06-29 15:54:54 +01:00
abdelrahman 52dbae227d Switch list to use memory arena 2024-06-27 23:57:14 +01:00
abdelrahman e3c463d2f1 Add ability to draw filled triangle 2024-06-24 00:04:21 +01:00
abdelrahman 1c1b611bbb Draw first triangle 2024-06-23 22:33:33 +01:00
abdelrahman f72568c135 Namespace list functions 2024-06-23 21:17:54 +01:00
abdelrahman ab469b8f37 Use list in rasteriser 2024-06-23 01:43:31 +01:00
abdelrahman 65dcd66f76 Add line_t struct and update draw_line function 2024-06-22 20:41:57 +01:00
abdelrahman 5908cf3063 Move ARR_LEN macro to misc_utils 2024-06-22 20:41:23 +01:00
abdelrahman 9f4137dac9 Draw first line 2024-06-22 19:27:30 +01:00
abdelrahman fc79cb1906 Start on the rasteriser implementation 2024-06-22 17:16:07 +01:00