Plane

class Plane(point: Vec3d, normal: Vec3d)(source)

Represents a 2D plane in a 3D world.

Parameters

point

A point on the plane

normal

The normal vector of the plane pointing "above" the plane

Constructors

Link copied to clipboard
constructor(point: Vec3d, normal: Vec3d)

Functions

Link copied to clipboard

Checks if the given point is "above" the plane.