T - Type of vector, either 2D or 3D, implementing the Vector interfacepublic class Collision<T extends com.badlogic.gdx.math.Vector<T>>
extends java.lang.Object
Collision is made up of a collision point and the normal at that point of collision.| Modifier and Type | Field and Description |
|---|---|
T |
normal
The normal of this collision.
|
T |
point
The collision point.
|
| Constructor and Description |
|---|
Collision(T point,
T normal)
Creates a
Collision with the given point and normal. |