Files
cglm/include/cglm/call/project.h
2019-04-28 21:48:19 +03:00

34 lines
594 B
C

/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/
#ifndef cglmc_project_h
#define cglmc_project_h
#ifdef __cplusplus
extern "C" {
#endif
#include "../cglm.h"
CGLM_EXPORT
void
glmc_unprojecti(const vec3 pos, const mat4 invMat, const vec4 vp, vec3 dest);
CGLM_EXPORT
void
glmc_unproject(const vec3 pos, const mat4 m, const vec4 vp, vec3 dest);
CGLM_EXPORT
void
glmc_project(const vec3 pos, const mat4 m, const vec4 vp, vec3 dest);
#ifdef __cplusplus
}
#endif
#endif /* cglmc_project_h */