Commit Graph

18 Commits

Author SHA1 Message Date
058dba9276 Add basic list implementation 2024-06-23 01:43:18 +01:00
65dcd66f76 Add line_t struct and update draw_line function 2024-06-22 20:41:57 +01:00
5908cf3063 Move ARR_LEN macro to misc_utils 2024-06-22 20:41:23 +01:00
9f4137dac9 Draw first line 2024-06-22 19:27:30 +01:00
05eb1723ee Add vec_swap macro 2024-06-22 19:27:06 +01:00
8fc3a2577a Split scene definition to use it in both raytracer and rasteriser 2024-06-22 16:46:55 +01:00
fbe4513a14 Update c_cpp_aliases 2024-06-22 16:46:37 +01:00
a7dda028aa Implement ability to move and rotate camera 2024-02-04 19:49:54 +00:00
c2560ccbdd Refactor and add reflections 2024-02-04 19:07:34 +00:00
f34e234609 Define utilities to multiply and divide a vector by a number 2024-02-03 19:18:50 +00:00
0b7ca65967 Add unit vector utilities 2024-02-03 18:36:58 +00:00
9b22ce61d5 Update colour_t to use a union 2023-12-27 22:03:14 +00:00
0345f90405 Add vector magnitude calculation 2023-12-20 16:37:50 +00:00
36913bf365 Add vector types and functions 2023-12-20 00:05:27 +00:00
f0b6771255 Add function to convert from window coordinates to viewport 2023-12-20 00:04:49 +00:00
8a30e64696 Update set pixel to use integers instead of floats 2023-12-18 14:15:18 +00:00
c836f3758f Implement basic window abstraction 2023-12-18 13:25:02 +00:00
edf3851f20 Ignore build directory 2023-12-18 11:01:32 +00:00