mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
fix unproject, add tests to project/unproject
This commit is contained in:
@@ -15,11 +15,15 @@ extern "C" {
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_unprojecti(mat4 invMat, vec4 vp, vec3 coord, vec3 dest);
|
||||
glmc_unprojecti(vec3 pos, mat4 invMat, vec4 vp, vec3 dest);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_unproject(mat4 m, vec4 vp, vec3 coord, vec3 dest);
|
||||
glmc_unproject(vec3 pos, mat4 m, vec4 vp, vec3 dest);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_project(vec3 pos, mat4 m, vec4 vp, vec3 dest);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user