mirror of
https://github.com/recp/cglm.git
synced 2026-11-17 18:17:13 -06: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:
1 parent
944d285e14
commit
8bcd6bd077
3 files changed
+60
-25
No files matched your search
@@ -31,3 +31,12 @@ void
|
||||
glmc_frustum_box(vec4 corners[8], mat4 m, vec3 box[2]) {
|
||||
glm_frustum_box(corners, m, box);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_frustum_corners_at(vec4 corners[8],
|
||||
float splitDist,
|
||||
float farDist,
|
||||
vec4 planeCorners[4]) {
|
||||
glm_frustum_corners_at(corners, splitDist, farDist, planeCorners);
|
||||
}
|
||||
Reference in new issue
Block a user