mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
frustum: make clipspace coords configurable
* now users can override clip space coords * add more desc to header * add call version for _corners_at
This commit is contained in:
@@ -29,6 +29,12 @@ CGLM_EXPORT
|
||||
void
|
||||
glmc_frustum_box(vec4 corners[8], mat4 m, vec3 box[2]);
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_frustum_corners_at(vec4 corners[8],
|
||||
float splitDist,
|
||||
float farDist,
|
||||
vec4 planeCorners[4]);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user