module Gubby::Components::Position2D
Attributes
angle[RW]
center_x[RW]
center_y[RW]
factor_x[RW]
factor_y[RW]
x[RW]
y[RW]
z[RW]
Public Class Methods
extend_object(e)
click to toggle source
Calls superclass method
# File lib/gubby/components/position_2d.rb, line 10 def Position2D.extend_object(e) super(e) e.x = 0 e.y = 0 e.z = 1 e.angle = 0 e.center_x = 0.5 e.center_y = 0.5 e.factor_x = 1 e.factor_y = 1 end