Package physics.collision.shape
Class Triangle
java.lang.Object
physics.collision.shape.PrimitiveShape
physics.collision.shape.Triangle
The shape implementation of a triangle.
- Since:
- 19.06.2021
- Author:
- Juyas
-
Field Summary
Fields inherited from class physics.collision.shape.PrimitiveShape
absoluteCentroid, absolutes, boundingSphere, faces, relativeCentroid, relatives, vertices
-
Constructor Summary
ConstructorDescriptionTriangle
(org.joml.Vector2f relativeA, org.joml.Vector2f relativeB, org.joml.Vector2f relativeC) -
Method Summary
Methods inherited from class physics.collision.shape.PrimitiveShape
adjust, boundingSphere, centroid, faces, getAbsolutePoints, init, initSphere, position, rotateShape, setPosition, setPosition, supportPoint, type, vertices
-
Constructor Details
-
Triangle
public Triangle(org.joml.Vector2f relativeA, org.joml.Vector2f relativeB, org.joml.Vector2f relativeC)
-