feat: modelmatrix

This commit is contained in:
2025-12-27 23:51:34 +01:00
parent e13458d793
commit 51989119ba
3 changed files with 26 additions and 11 deletions

View File

@@ -80,7 +80,8 @@ int main(int argc, char *argv[]) {
std::chrono::steady_clock::time_point begin =
std::chrono::steady_clock::now();
renderer.render(&testModel);
renderer.render(&testModel, mat4::translation(vec3(0.0f, -1.0f, 5.0f)) *
mat4::rotateOnY(-1.5707963267948966f));
std::chrono::steady_clock::time_point end =
std::chrono::steady_clock::now();