mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
identiy helper for arrays (matrix/quaternion)
this helpers makes all array elements identity
This commit is contained in:
@@ -8,13 +8,18 @@
|
||||
#include "../include/cglm/cglm.h"
|
||||
#include "../include/cglm/call.h"
|
||||
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_quat_identity(versor q) {
|
||||
glm_quat_identity(q);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_quat_identity_array(versor * __restrict q, size_t count) {
|
||||
glm_quat_identity_array(q, count);
|
||||
}
|
||||
|
||||
CGLM_EXPORT
|
||||
void
|
||||
glmc_quat_init(versor q, float x, float y, float z, float w) {
|
||||
|
||||
Reference in New Issue
Block a user