Method: CGLM::Vec4#zero!

Defined in:
ext/cglm/rb_cglm_vec4.c

#zero!self

Sets all fields in self to 0 and returns self.

Returns:

  • (self)


57
58
59
60
# File 'ext/cglm/rb_cglm_vec4.c', line 57

VALUE rb_cglm_vec4_zero_self(VALUE self) {
  glm_vec4_zero(VAL2VEC4(self));
  return self;
}