added more unit tests

This commit is contained in:
2024-11-30 03:37:25 +03:00
parent 6a9a51b39c
commit a33ee638b9
7 changed files with 84 additions and 10 deletions

View File

@@ -22,10 +22,10 @@ namespace omath::opengl
{
return
{
{right.x, up.x, -forward.x, 0},
{right.y, up.y, -forward.y, 0},
{right.z, up.z, -forward.z, 0},
{-cam_origin.x, -cam_origin.y, -cam_origin.z, 1},
{right.x, up.x, -forward.x, 0},
{right.y, up.y, -forward.y, 0},
{right.z, up.z, -forward.z, 0},
{-cam_origin.x, -cam_origin.y, -cam_origin.z, 1},
};
}