mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
Add LH & RH_NO perspective functions
This commit adds functions `glm_perspective_lh_no` and `glm_perspective_rh_no` to the code. Unit tests are added and this commit follows the new pattern of adding the a new file per coordinate-system and clip-space tuple. . Makefile.am updated . removed test/glm_cmp project stub . unit tests include naive implementations to as well as magic number ref-data generated by the corresponding GLM functions. No tests run yet on Windows or Mac.
This commit is contained in:
committed by
Tai Chi Minh Ralph Eastwood
parent
b3a18b8a15
commit
c013bd462c
@@ -225,6 +225,8 @@ TEST_DECLARE(glmc_mat2_rmc)
|
||||
/* camera (incl [LR]H cross [NZ]O) */
|
||||
TEST_DECLARE(perspective_lh_zo)
|
||||
TEST_DECLARE(perspective_rh_zo)
|
||||
TEST_DECLARE(perspective_lh_no)
|
||||
TEST_DECLARE(perspective_rh_no)
|
||||
TEST_DECLARE(camera_lookat)
|
||||
TEST_DECLARE(camera_decomp)
|
||||
|
||||
@@ -951,6 +953,8 @@ TEST_LIST {
|
||||
/* camera (incl [LR]H cross [NZ]O) */
|
||||
TEST_ENTRY(perspective_lh_zo)
|
||||
TEST_ENTRY(perspective_rh_zo)
|
||||
TEST_ENTRY(perspective_lh_no)
|
||||
TEST_ENTRY(perspective_rh_no)
|
||||
TEST_ENTRY(camera_lookat)
|
||||
TEST_ENTRY(camera_decomp)
|
||||
|
||||
|
Reference in New Issue
Block a user