Module: SolidRuby::Transformations

Included in:
SolidRuby
Defined in:
lib/solidruby/transformations/scale.rb,
lib/solidruby/transformations/mirror.rb,
lib/solidruby/transformations/rotate.rb,
lib/solidruby/transformations/translate.rb,
lib/solidruby/transformations/transformation.rb

Overview

This file is part of SolidRuby.

SolidRuby is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

SolidRuby is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with SolidRuby.  If not, see <http://www.gnu.org/licenses/>.

Defined Under Namespace

Classes: Mirror, Rotate, Scale, Transformation, Translate

Instance Attribute Summary collapse

Instance Attribute Details

#xObject

Returns the value of attribute x.



17
18
19
# File 'lib/solidruby/transformations/translate.rb', line 17

def x
  @x
end

#yObject

Returns the value of attribute y.



17
18
19
# File 'lib/solidruby/transformations/translate.rb', line 17

def y
  @y
end

#zObject

Returns the value of attribute z.



17
18
19
# File 'lib/solidruby/transformations/translate.rb', line 17

def z
  @z
end