import Vector from '../math/Vector'; /** * A {@code Collision} is made up of a collision point and the normal at that point of collision. * * @param Type of vector, either 2D or 3D, implementing the {@link Vector} interface * * @author davebaol */ declare class Collision> { /** The collision point. */ point: T; /** The normal of this collision. */ normal: T; /** * Creates a {@code Collision} with the given {@code point} and {@code normal}. * @param point the point where this collision occurred * @param normal the normal of this collision */ constructor(point: T, normal: T); /** * Sets this collision from the given collision. * @param collision The collision * @return this collision for chaining. */ copy(collision: Collision): Collision; /** * Sets this collision from the given point and normal. * @param point the collision point * @param normal the normal of this collision * @return this collision for chaining. */ set(point: T, normal: T): Collision; } export default Collision;