Plane.init

Initializes the given #graphene_plane_t using the given @normal vector and @constant values.

class Plane
init

Parameters

normal Vec3

a unit length normal vector defining the plane pointing towards the origin; if unset, we use the X axis by default

constant float

the distance from the origin to the plane along the normal vector; the sign determines the half-space occupied by the plane

Return Value

Type: Plane

the initialized plane

Meta