Method: CGLM::Mat4#==

Defined in:
ext/cglm/rb_cglm_mat4.c

#==(other) ⇒ Object



221
222
223
224
# File 'ext/cglm/rb_cglm_mat4.c', line 221

VALUE rb_cglm_mat4_equal(VALUE self, VALUE other) {
  if (memcmp(&VAL2MAT4(self), &VAL2MAT4(other), sizeof(mat4))) return Qfalse;
  return Qtrue;
}