UNPKG

gs-modelling

Version:

A set of 3D modelling functions for gs-JSON.

18 lines (13 loc) 787 B
import * as gs from "gs-json"; // =============================================================================================================== // Ray Constructors ============================================================================================== // =============================================================================================================== /** * Creates a ray from an origin point and one point describing its direction * @param origin 3D point to use as origin of plane * @param point Point that lies on direction of ray * @returns New ray if successful, null if unsuccessful or on error */ export function FromOriginPoint(origin: gs.IPoint, point: gs.IPoint ): gs.IRay { throw new Error("Method not implemented"); }