import Vector from '../math/Vector'; /** * A {@code Ray} is made up of a starting point and an ending point. * * @param Type of vector, either 2D or 3D, implementing the {@link Vector} interface * * @author davebaol */ declare class Ray> { /** The starting point of this ray. */ start: T; /** The ending point of this ray. */ end: T; /** * Creates a {@code Ray} with the given {@code start} and {@code end} points. * @param start the starting point of this ray * @param end the starting point of this ray */ constructor(start: T, end: T); /** * Sets this ray from the given ray. * @param ray The ray * @return this ray for chaining. */ copy(ray: Ray): Ray; /** * Sets this Ray from the given start and end points. * @param start the starting point of this ray * @param end the starting point of this ray * @return this ray for chaining. */ set(start: T, end: T): Ray; } export default Ray;