Method: Ray::Vector2#y

Defined in:
ext/vector.c

#yFloat Also known as: h

Returns The y position of the vector.

Returns:

  • (Float)

    The y position of the vector



98
99
100
101
# File 'ext/vector.c', line 98

static
VALUE ray_vector2_y(VALUE self) {
  return rb_float_new(ray_rb2vector2_ptr(self)->y);
}