Plane.Plane
void Plane(Vec3 normal, float d)
Creates a Plane directly from the ax + by + cz + d = 0 formula!
Vec3 normal | Direction the plane is facing. |
float d | Distance along the normal from the origin to the surface of the plane. |
void Plane(Vec3 pointOnPlane, Vec3 planeNormal)
Creates a plane from a normal, and any point on the plane!
Vec3 pointOnPlane | Any point directly on the surface of the plane. |
Vec3 planeNormal | Direction the plane is facing. |
void Plane(Vec3 pointOnPlane1, Vec3 pointOnPlane2, Vec3 pointOnPlane3)
Creates a plane from 3 points that are directly on that plane.
Vec3 pointOnPlane1 | First point on the plane. |
Vec3 pointOnPlane2 | Second point on the plane. |
Vec3 pointOnPlane3 | Third point on the plane. |
Found an issue with these docs, or have some additional questions? Create an Issue on Github!