Skip to main content

Plane.Set3Points(Vector3 a, Vector3 b, Vector3 c)

Sets a plane using three points that lie within it. The points go around clockwise as you look down on the top surface of the plane.

Parameters:

NameTypeDescription
aVector3First point in clockwise order.
bVector3Second point in clockwise order.
cVector3Third point in clockwise order.

Usage

---@type Plane
local plane;

---@type Vector3
local a;

---@type Vector3
local b;

---@type Vector3
local c;


plane.Set3Points(a, b, c)