ws.math.collision

Undocumented in source.

Members

Classes

LineCubeResult
class LineCubeResult
Undocumented in source.
LinePlaneResult
class LinePlaneResult
Undocumented in source.
Result
class Result
Undocumented in source.

Functions

collide
LinePlaneResult collide(Line line, Plane plane)
Undocumented in source. Be warned that the author may not have intended to support it.
collide
LineCubeResult collide(Line line, Cube cube)
Undocumented in source. Be warned that the author may not have intended to support it.
line_plane
float[3] line_plane(float[3] lineStart, float[3] lineDir, float[3] planeOrigin, float[3] planeNormal)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Cube
struct Cube
Undocumented in source.
Line
struct Line
Undocumented in source.
Plane
struct Plane
Undocumented in source.

Meta