feat: modelmatrix
This commit is contained in:
3
main.cpp
3
main.cpp
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user