mirror of
https://github.com/recp/cglm.git
synced 2026-01-03 06:09:59 +00:00
Add glm_perspective_rh_zo function + tests
This commit adds the RH/ZO perspective function. It does so in the new file `cam_rh_zo.h` and further refactors the LH variant into new file `cam_lh_zo.h`. This creates some churn in the tests and configuration files as new test files were added as well, and all these changes found their way into the build files. Tests passing on Linux.
This commit is contained in:
committed by
Tai Chi Minh Ralph Eastwood
parent
1bce62c371
commit
b3a18b8a15
@@ -222,8 +222,9 @@ TEST_DECLARE(glmc_mat2_swap_col)
|
||||
TEST_DECLARE(glmc_mat2_swap_row)
|
||||
TEST_DECLARE(glmc_mat2_rmc)
|
||||
|
||||
/* camera */
|
||||
/* camera (incl [LR]H cross [NZ]O) */
|
||||
TEST_DECLARE(perspective_lh_zo)
|
||||
TEST_DECLARE(perspective_rh_zo)
|
||||
TEST_DECLARE(camera_lookat)
|
||||
TEST_DECLARE(camera_decomp)
|
||||
|
||||
@@ -947,8 +948,9 @@ TEST_LIST {
|
||||
TEST_ENTRY(glmc_mat2_swap_row)
|
||||
TEST_ENTRY(glmc_mat2_rmc)
|
||||
|
||||
/* camera */
|
||||
/* camera (incl [LR]H cross [NZ]O) */
|
||||
TEST_ENTRY(perspective_lh_zo)
|
||||
TEST_ENTRY(perspective_rh_zo)
|
||||
TEST_ENTRY(camera_lookat)
|
||||
TEST_ENTRY(camera_decomp)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user