mirror of
https://github.com/recp/cglm.git
synced 2025-12-31 04:37:01 +00:00
implement rotate_at
This commit is contained in:
@@ -116,6 +116,12 @@ glmc_rotate(mat4 m, float angle, vec3 axis) {
|
||||
glm_rotate(m, angle, axis);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_rotate_at(mat4 model, vec3 pivot, float angle, vec3 axis) {
|
||||
glm_rotate_at(model, pivot, angle, axis);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_decompose_scalev(mat4 m, vec3 s) {
|
||||
|
||||
Reference in New Issue
Block a user