lib/triangle.rb in gmath3D-0.2.2 vs lib/triangle.rb in gmath3D-0.2.3
- old
+ new
@@ -4,10 +4,12 @@
#
# Triangle represents a three edged finite plane on 3D space.
#
class Triangle < Geom
public
- attr_accessor:vertices
+ attr_accessor :vertices
+
+ include BoxAvailable
# [Input]
# _vertex1_, _vertex2_, _vertex3_ should be Vector3.
# [Output]
# return new instance of Triangle.