![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
A plane class describing the equation for a plane a*x + b*y + c*z + d = 0.
The default constructor.
Murl.Math.Plane new()
Set all variables of the equation for a plane a*x + b*y + c*z + d = 0.
Set(Number a, Number b, Number c, Number d)
a | The a variable. |
b | The b variable. |
c | The c variable. |
d | The d variable. |
Normalize the plane.
NormalizeSelf()
Get the distance from a point to the plane.
Number GetPointDistance(Murl.Math.Vector point)
point | The point to measure the distance from. |
Get the string representation of the object.
String ToString()
Converts the object content to a string in a reasonable format.
The a variable.
The b variable.
The c variable.
The d variable.