Class: AGL::Vector
- Inherits:
-
Struct
- Object
- Struct
- AGL::Vector
- Defined in:
- lib/minigl/global.rb
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x
4 5 6 |
# File 'lib/minigl/global.rb', line 4 def x @x end |
#y ⇒ Object
Returns the value of attribute y
4 5 6 |
# File 'lib/minigl/global.rb', line 4 def y @y end |