T - Type of vector, either 2D or 3D, implementing the Vector interfacepublic class Ray<T extends com.badlogic.gdx.math.Vector<T>>
extends java.lang.Object
Ray is made up of a starting point and an ending point.| Modifier and Type | Field and Description |
|---|---|
T |
end
The ending point of this ray.
|
T |
start
The starting point of this ray.
|
| Constructor and Description |
|---|
Ray(T start,
T end)
Creates a
Ray with the given start and end points. |