Method: CGLM::Plane#normalize!

Defined in:
ext/cglm/rb_cglm_plane.c

#normalize!self

Normalizes this Vec4 (which represents a plane) and returns it.

Returns:

  • (self)


21
22
23
24
# File 'ext/cglm/rb_cglm_plane.c', line 21

VALUE rb_cglm_plane_normalize_self(VALUE self) {
  glm_plane_normalize(VAL2VEC4(self));
  return self;
}