aboutsummaryrefslogtreecommitdiff
path: root/src/math/mat4.hpp
Commit message (Collapse)AuthorAgeFilesLines
* started working on implementing texturesvimene2025-12-261-1/+2
|
* transpose matrix representationvimene2025-12-261-38/+38
| | | | | map values[i * 4 + j] to values[i + j * 4], meaning that values[1] is now the second line, first column, instead of first line, second column
* added uniform buffers, small tweaksvimene2025-12-241-3/+25
| | | | | | | | | | - fixed aspect ratio being the inverse of what it's supposed to be - use std::chrono::high_resolution_clock instead of system_clock - convert ellapsed time to float representing seconds - renamed engine::math::Matrix4::projection to perspective - use [0,1] instead of [-1,1] for the range of z values, to be aligned with vulkan - added engine::math::Matrix4::{look_at,transpose}
* renamed .h to .hppvimene2025-12-101-0/+170