Class: XRVG::Frame

Inherits:
Object
  • Object
show all
Includes:
Attributable
Defined in:
lib/frame.rb

Overview

attribute :scale

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



23
24
25
26
27
28
29
30
31
# File 'lib/frame.rb', line 23

def ==(other)
  if self.center == other.center and
	self.vector == other.vector and
	self.rotation == other.rotation and
	self.scale == other.scale
    return true
  end
  return false
end