method

angle_with

Importance_1
v2_4_6 - Show latest stable - 0 notes - Class: Vector
angle_with(v) public

Returns an angle with another vector. Result is within the [0…Math::PI].

Vector[1,0].angle_with(Vector[0,1])
# => Math::PI / 2
Show source
Register or log in to add new notes.