Class: RuPov::Textures::Pigments::Hexagon
- Inherits:
-
ColourList
- Object
- Base
- Pigment
- ColourList
- RuPov::Textures::Pigments::Hexagon
- Defined in:
- lib/rupov.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(colour1, colour2, colour3) ⇒ Hexagon
constructor
A new instance of Hexagon.
Methods inherited from Base
Constructor Details
#initialize(colour1, colour2, colour3) ⇒ Hexagon
Returns a new instance of Hexagon.
332 333 334 |
# File 'lib/rupov.rb', line 332 def initialize( colour1, colour2, colour3 ) super( "hexagon", [colour1,colour2,colour3] ) end |