Commit Graph
18 Commits
Author SHA1 Message Date
Martin b151e70167 Fixed mismatch between coordinates indices (rather min/max values thereof) 2025-01-11 13:26:05 +01:00
Martin 09220ced25 Added func. for length of vec3 2025-01-09 20:36:43 +01:00
Martin 1f335dffc9 Added support for float multiplication of vec3 2025-01-09 20:36:14 +01:00
Martin 52a47ed302 Fixed the newly defined math function to actually work with cuda 2025-01-09 12:16:18 +01:00
Martin b107a2a6de Added some more useful math functions 2025-01-09 11:53:28 +01:00
djaidjai edf4d9fd60 added shader 2025-01-05 22:48:09 +01:00
djaidjai c23a33ebef feat (wip): real-time gui with rendering in opengl 2025-01-03 19:57:10 +01:00
Martin 479c450fef Re-implemented vec3 initializations based on new definition 2024-12-30 12:09:12 +01:00
Martin 8e4c5290d7 Re-implemented vec3 constructor to allow for uninitialized declaration (cuda does not allow dynamic intialization) 2024-12-30 12:08:08 +01:00
Martin 77c0ac4933 Also added a Color3 alias 2024-12-30 10:45:44 +01:00
Martin fa49f7eb71 Added a point alias to vec3 2024-12-30 10:42:31 +01:00
Martin c7a871d9a4 Added a vec3 constructor from array 2024-12-30 10:17:32 +01:00
Martin 865cc4bcf0 Added += etc. operators to Vec3 2024-12-30 10:14:46 +01:00
Martin 7fd6944f53 Again, renamed stuff for consistency's sake 2024-12-23 22:17:50 +01:00
Martin 79d0587d97 Renamed var. for consistency with sphere.h 2024-12-23 22:16:22 +01:00
Martin dfeb8af49e Added (simple) gradient for (simple) phong illumination purposes 2024-12-23 22:04:43 +01:00
Martin a1c6ab16ab Added cross-product to vector implementation 2024-12-23 22:01:09 +01:00
Martin ed3adbd4c4 Added makefile 2024-11-14 18:02:32 +01:00