Class: SDC::CollisionShapeTriangle
- Inherits:
-
Object
- Object
- SDC::CollisionShapeTriangle
- Defined in:
- engine_docs/automatic_doc_CollisionShapeTriangle.rb,
engine_docs/automatic_doc_CollisionShapeTriangle.rb
Overview
Collision shape class for a triangle
Instance Attribute Summary collapse
-
#scale ⇒ Coordinates
Scale factor vector of the triangle shape.
-
#side_1 ⇒ Coordinates
First side vector of the triangle shape.
-
#side_2 ⇒ Coordinates
Second side vector of the triangle shape.
Instance Method Summary collapse
-
#initialize(offset, side_1, side_2) ⇒ CollisionShapeTriangle
constructor
Creates a triangle collision shape with the given side vectors.
Constructor Details
#initialize(offset, side_1, side_2) ⇒ CollisionShapeTriangle
Creates a triangle collision shape with the given side vectors
|
# File 'engine_docs/automatic_doc_CollisionShapeTriangle.rb', line 9
|
Instance Attribute Details
#scale ⇒ Coordinates
Scale factor vector of the triangle shape
|
# File 'engine_docs/automatic_doc_CollisionShapeTriangle.rb', line 25
|
#side_1 ⇒ Coordinates
First side vector of the triangle shape
|
# File 'engine_docs/automatic_doc_CollisionShapeTriangle.rb', line 17
|
#side_2 ⇒ Coordinates
Second side vector of the triangle shape
|
# File 'engine_docs/automatic_doc_CollisionShapeTriangle.rb', line 21
|