mirror of
https://github.com/recp/cglm.git
synced 2025-12-31 12:47:05 +00:00
Revert "mark readonly parameters as const"
This commit is contained in:
10
src/sphere.c
10
src/sphere.c
@@ -10,30 +10,30 @@
|
||||
|
||||
CGLM_EXPORT
|
||||
float
|
||||
glmc_sphere_radii(const vec4 s) {
|
||||
glmc_sphere_radii(vec4 s) {
|
||||
return glm_sphere_radii(s);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_sphere_transform(const vec4 s, const mat4 m, vec4 dest) {
|
||||
glmc_sphere_transform(vec4 s, mat4 m, vec4 dest) {
|
||||
glm_sphere_transform(s, m, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_sphere_merge(const vec4 s1, const vec4 s2, vec4 dest) {
|
||||
glmc_sphere_merge(vec4 s1, vec4 s2, vec4 dest) {
|
||||
glm_sphere_merge(s1, s2, dest);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
bool
|
||||
glmc_sphere_sphere(const vec4 s1, const vec4 s2) {
|
||||
glmc_sphere_sphere(vec4 s1, vec4 s2) {
|
||||
return glm_sphere_sphere(s1, s2);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
bool
|
||||
glmc_sphere_point(const vec4 s, const vec3 point) {
|
||||
glmc_sphere_point(vec4 s, vec3 point) {
|
||||
return glm_sphere_point(s, point);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user