Sha256: c0e210fbfa7f0fd78d77893f5b178b85578cd544b99ec12d3e022adfa61c496a
Contents?: true
Size: 200 Bytes
Versions: 3
Compression:
Stored size: 200 Bytes
Contents
# -*- coding: utf-8 -*- ## # Indexable #yaw method. # module Indexable module Yaw # Calculate the xy-plane angle in radians. def yaw Math::atan2(-self[1],self[0]) end end end
Version data entries
3 entries across 3 versions & 1 rubygems