mirror of
https://github.com/recp/cglm.git
synced 2025-12-26 10:35:10 +00:00
made quat struct and also exported it
This commit is contained in:
36
src/quat.c
36
src/quat.c
@@ -26,6 +26,42 @@ glmc_quat_init(versor q, float x, float y, float z, float w) {
|
||||
glm_quat_init(q, x, y, z, w);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_euler_xyz_quat(versor q, vec3 angles) {
|
||||
glm_euler_xyz_quat(q, angles);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_euler_xzy_quat(versor q, vec3 angles) {
|
||||
glm_euler_xzy_quat(q, angles);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_euler_yxz_quat(versor q, vec3 angles) {
|
||||
glm_euler_yxz_quat(q, angles);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_euler_yzx_quat(versor q, vec3 angles) {
|
||||
glm_euler_yzx_quat(q, angles);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_euler_zxy_quat(versor q, vec3 angles) {
|
||||
glm_euler_zxy_quat(q, angles);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_euler_zyx_quat(versor q, vec3 angles) {
|
||||
glm_euler_zyx_quat(q, angles);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_quat(versor q, float angle, float x, float y, float z) {
|
||||
|
||||
Reference in New Issue
Block a user