fix glm_pickmatrix()'s param type

This commit is contained in:
Recep Aslantas committed 2022-01-31 02:56:39 +03:00
1 parent f20bf0aaaf
commit 2a4748d452
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ glm_project(vec3 pos, mat4 m, vec4 vp, vec3 dest) {
*/
CGLM_INLINE
void
glm_pickmatrix(vec3 center, vec2 size, vec4 vp, mat4 dest) {
glm_pickmatrix(vec2 center, vec2 size, vec4 vp, mat4 dest) {
mat4 res;
vec3 v;
+1 -1
View File
@@ -111,7 +111,7 @@ glms_project(vec3s pos, mat4s m, vec4s vp) {
*/
CGLM_INLINE
mat4s
glms_pickmatrix(vec3s center, vec2s size, vec4s vp) {
glms_pickmatrix(vec2s center, vec2s size, vec4s vp) {
mat4s res;
glm_pickmatrix(center.raw, size.raw, vp.raw, res.raw);
return res;