mirror of
https://github.com/recp/cglm.git
synced 2025-12-30 12:17:50 +00:00
add unproject function
This commit is contained in:
21
src/project.c
Normal file
21
src/project.c
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (c), Recep Aslantas.
|
||||
*
|
||||
* MIT License (MIT), http://opensource.org/licenses/MIT
|
||||
* Full license can be found in the LICENSE file
|
||||
*/
|
||||
|
||||
#include "../include/cglm/cglm.h"
|
||||
#include "../include/cglm/call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_unprojecti(mat4 invMat, vec4 vp, vec3 coord, vec3 dest) {
|
||||
glm_unprojecti(invMat, vp, coord, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_unproject(mat4 m, vec2 vp, vec3 coord, vec3 dest) {
|
||||
glm_unproject(m, vp, coord, dest);
|
||||
}
|
||||
Reference in New Issue
Block a user