mirror of
https://github.com/recp/cglm.git
synced 2025-12-25 04:44:58 +00:00
circle fix, new copy func
This commit is contained in:
10
src/aabb2d.c
10
src/aabb2d.c
@@ -8,6 +8,12 @@
|
||||
#include "../include/cglm/cglm.h"
|
||||
#include "../include/cglm/call.h"
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_aabb2d_copy(vec2 aabb[2], vec2 dest[2]) {
|
||||
glm_aabb2d_copy(aabb, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_aabb2d_transform(vec2 aabb[2], mat4 m, vec2 dest[2]) {
|
||||
@@ -91,6 +97,6 @@ glmc_aabb2d_contains(vec2 aabb[2], vec2 other[2]) {
|
||||
|
||||
CGLM_EXPORT
|
||||
bool
|
||||
glmc_aabb2d_sphere(vec2 aabb[2], vec4 s) {
|
||||
return glm_aabb2d_sphere(aabb, s);
|
||||
glmc_aabb2d_circle(vec2 aabb[2], vec3 s) {
|
||||
return glm_aabb2d_circle(aabb, s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user