Method: Processing::Vector#mag

Defined in:
lib/processing/vector.rb

#magNumeric

Returns the length of the vector.



418
419
420
# File 'lib/processing/vector.rb', line 418

def mag()
  @point.length
end