mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
vec: rename glm_vec_ namespace to glm_vec3_
This commit is contained in:
@@ -16,7 +16,7 @@ test_clamp(void **state) {
|
||||
assert_true(glm_clamp(-1.6f, 0.0f, 1.0f) == 0.0f);
|
||||
assert_true(glm_clamp(0.6f, 0.0f, 1.0f) == 0.6f);
|
||||
|
||||
glm_vec_clamp(v3, 0.0, 1.0);
|
||||
glm_vec3_clamp(v3, 0.0, 1.0);
|
||||
glm_vec4_clamp(v4, 1.5, 3.0);
|
||||
|
||||
assert_true(v3[0] == 1.0f);
|
||||
|
||||
Reference in New Issue
Block a user