Class: RuPov::Objects::InfiniteSolidPrimitives::Plane
- Defined in:
- lib/rupov.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(normal, distance = 0) {|_self| ... } ⇒ Plane
constructor
A new instance of Plane.
Methods inherited from Base
Constructor Details
#initialize(normal, distance = 0) {|_self| ... } ⇒ Plane
Returns a new instance of Plane.
230 231 232 233 234 |
# File 'lib/rupov.rb', line 230 def initialize( normal, distance=0 ) super( 'plane' ) self << Methods::MultiValue.new([normal,distance]) yield(self) if block_given? and self.class == Plane end |