instance. Ray

Members and methods attached to the rac.Ray function.

The function contains ready-made convenience Ray objects for usual values, all setup with the owning Rac instance.

Example
let rac = new Rac()
rac.Ray.xAxis // ready-made x-axis ray
rac.Ray.xAxis.rac === rac // true

Members

xAxis :Rac.Ray

A Ray over the x-axis, starts at rac.Point.origin and points to rac.Angle.zero.

Equal to rac.Ray.zero.

yAxis :Rac.Ray

A Ray over the y-axis, starts at rac.Point.origin and points to rac.Angle.quarter.

zero :Rac.Ray

A Ray with all values set to zero, starts at rac.Point.zero and points to rac.Angle.zero.