Package physics.collision.shape
Class Quadrilateral
java.lang.Object
physics.collision.shape.PrimitiveShape
physics.collision.shape.Quadrilateral
The shape implementation of a rectangle.
- 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
ConstructorDescriptionQuadrilateral
(org.joml.Vector2f a, org.joml.Vector2f b, org.joml.Vector2f c, org.joml.Vector2f d) -
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
-
Quadrilateral
public Quadrilateral(org.joml.Vector2f a, org.joml.Vector2f b, org.joml.Vector2f c, org.joml.Vector2f d)
-