mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
Change empty prototypes to (void)
Because () means an arbitrary number of arguments in C, which is not intended here.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
GLMS_QUAT_IDENTITY
|
||||
|
||||
Functions:
|
||||
CGLM_INLINE versors glms_quat_identity()
|
||||
CGLM_INLINE versors glms_quat_identity(void)
|
||||
CGLM_INLINE void glms_quat_identity_array(versor *q, size_t count)
|
||||
CGLM_INLINE versors glms_quat_init(float x, float y, float z, float w)
|
||||
CGLM_INLINE versors glms_quatv(float angle, vec3s axis)
|
||||
@@ -72,7 +72,7 @@
|
||||
*/
|
||||
CGLM_INLINE
|
||||
versors
|
||||
glms_quat_identity() {
|
||||
glms_quat_identity(void) {
|
||||
versors dest;
|
||||
glm_quat_identity(dest.raw);
|
||||
return dest;
|
||||
|
||||
Reference in New Issue
Block a user