Class: Hate::Graphics::Shapes::Square

Inherits:
Base
  • Object
show all
Defined in:
lib/hate/graphics/shapes.rb

Instance Attribute Summary

Attributes inherited from Base

#c, #memory, #ra, #rx, #ry, #rz, #size, #x, #y, #z

Instance Method Summary collapse

Methods inherited from Base

#color, #compile, #destroy, #initialize, #rotate, #run, #translate

Constructor Details

This class inherits a constructor from Hate::Graphics::Shapes::Base

Instance Method Details

#buildObject



64
65
66
# File 'lib/hate/graphics/shapes.rb', line 64

def build
  glutSolidCube(@size)
end