mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 02:25:02 +00:00
exracting planes
This commit is contained in:
21
src/plane.c
Normal file
21
src/plane.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_plane_normalize(vec4 plane) {
|
||||
glm_plane_normalize(plane);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_plane_extract(mat4 projView, vec4 dest[6]) {
|
||||
glm_plane_extract(projView, dest);
|
||||
}
|
||||
Reference in New Issue
Block a user