Skip to content

RayIntersection

Overview

An intersection between a ray and a segment.

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RayIntersection

import { RayIntersection } from 'scenerystack/kite';

Constructor

new RayIntersection( distance : number, point : Vector2, normal : Vector2, wind : number, t : number )

Instance Methods

Instance Properties

point : Vector2

normal : Vector2

distance : number

wind : number

t : number

Source Code

See the source for RayIntersection.ts in the kite repository.