module Indexable::Yaw

Public Instance Methods

yaw() click to toggle source

Calculate the xy-plane angle in radians.

# File lib/sixarm_ruby_geometry/indexable/yaw.rb, line 9
def yaw
  Math::atan2(-self[1],self[0])
end