mirror of
https://github.com/recp/cglm.git
synced 2026-01-04 22:30:05 +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
@@ -43,6 +43,8 @@ cglm_HEADERS = include/cglm/version.h \
|
||||
include/cglm/cam.h \
|
||||
include/cglm/cam_lh_zo.h \
|
||||
include/cglm/cam_rh_zo.h \
|
||||
include/cglm/cam_lh_no.h \
|
||||
include/cglm/cam_rh_no.h \
|
||||
include/cglm/io.h \
|
||||
include/cglm/mat4.h \
|
||||
include/cglm/mat3.h \
|
||||
@@ -148,6 +150,8 @@ libcglm_la_SOURCES=\
|
||||
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 \
|
||||
@@ -172,6 +176,8 @@ test_tests_SOURCES=\
|
||||
test/src/test_cam.c \
|
||||
test/src/test_cam_lh_zo.c \
|
||||
test/src/test_cam_rh_zo.c \
|
||||
test/src/test_cam_lh_no.c \
|
||||
test/src/test_cam_rh_no.c \
|
||||
test/src/test_clamp.c \
|
||||
test/src/test_euler.c \
|
||||
test/src/test_bezier.c \
|
||||
|
||||
Reference in New Issue
Block a user