Method: CGLM::Mat4#top

Defined in:
ext/cglm/rb_cglm_cam.c

#topNumeric

Returns:



72
73
74
75
76
# File 'ext/cglm/rb_cglm_cam.c', line 72

VALUE rb_cglm_cam_decomp_top(VALUE self) {
  float top, bottom;
  glm_persp_decomp_y(VAL2MAT4(self), &top, &bottom);
  return DBL2NUM(top);
}