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:
michaelg authored and Tai Chi Minh Ralph Eastwood committed 2021-05-13 23:18:05 +02:00
1 parent b3a18b8a15
commit c013bd462c
21 files changed
+266 -89

No files matched your search

+2
View File
@@ -59,6 +59,8 @@ add_library(${PROJECT_NAME}
src/cam.c
src/cam_lh_zo.c
src/cam_rh_zo.c
src/cam_lh_no.c
src/cam_rh_no.c
src/vec2.c
src/vec3.c
src/vec4.c