6 Commits

Author SHA1 Message Date
36b113c036 Replace get_barycentric_coords with different calculation 2024-08-25 20:03:59 +01:00
996597684b Add transpose and inverse matrix utilities 2024-08-24 00:25:18 +01:00
2bea7218db Test implementation of phong shader 2024-08-19 00:05:59 +01:00
afc10fb79a Add rgb elements to V3f 2024-08-18 22:29:47 +01:00
ec98a033eb Add macro for multiplying V3f with scalar 2024-08-18 22:17:27 +01:00
50b8c6dd0a Implement shaders (#1)
Reviewed-on: #1

	* Start implementing shaders and move vector code to dedicated files
	* Extract shader into its own header
	* Ensure pixel coordinates are within bounds
	* Refactor shader code and implement fragment shaders
	* Create shaders
	* Reorganise code
Co-authored-by: Abdelrahman <said.abdelrahman89@gmail.com>
Co-committed-by: Abdelrahman <said.abdelrahman89@gmail.com>
2024-08-18 14:28:09 +00:00