exracting planes

This commit is contained in:
Recep Aslantas
2017-12-30 12:18:32 +03:00
parent 3f616ce6a3
commit c98340d9d2
6 changed files with 121 additions and 0 deletions

27
include/cglm/call/plane.h Normal file
View File

@@ -0,0 +1,27 @@
/*
* Copyright (c), Recep Aslantas.
*
* MIT License (MIT), http://opensource.org/licenses/MIT
* Full license can be found in the LICENSE file
*/
#ifndef cglmc_plane_h
#define cglmc_plane_h
#ifdef __cplusplus
extern "C" {
#endif
#include "../cglm.h"
CGLM_EXPORT
void
glmc_plane_normalize(vec4 plane);
CGLM_EXPORT
void
glmc_plane_extract(mat4 projView, vec4 dest[6]);
#ifdef __cplusplus
}
#endif
#endif /* cglmc_plane_h */