Class: RubyLabs::SphereLab::NBodyView

Inherits:
Struct
  • Object
show all
Defined in:
lib/spherelab.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodiesObject

Returns the value of attribute bodies

Returns:

  • (Object)

    the current value of bodies



45
46
47
# File 'lib/spherelab.rb', line 45

def bodies
  @bodies
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



45
46
47
# File 'lib/spherelab.rb', line 45

def options
  @options
end

#originObject

Returns the value of attribute origin

Returns:

  • (Object)

    the current value of origin



45
46
47
# File 'lib/spherelab.rb', line 45

def origin
  @origin
end

#scaleObject

Returns the value of attribute scale

Returns:

  • (Object)

    the current value of scale



45
46
47
# File 'lib/spherelab.rb', line 45

def scale
  @scale
end