Plane.init_

graphene.plane.Plane init_(graphene.vec3.Vec3 normal, float constant)

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

Parameters

normala unit length normal vector defining the plane pointing towards the origin; if unset, we use the X axis by default
constantthe distance from the origin to the plane along the normal vector; the sign determines the half-space occupied by the plane

Returns

the initialized plane