![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
A cone class describing a cone by its angle and length.
The default constructor.
Murl.Math.Cone new()
Constructor taking cone length and angle.
Murl.Math.Cone new(Number length, Number angle)
length | The length of the cone. |
angle | The angle of the cone. |
Constructor taking a frustum.
Murl.Math.Cone new(Murl.Math.Frustum frustum)
frustum | The frustum. |
Get the length.
Number GetLength()
Get the angle.
Number GetAngle()
Set the cone by a frustum.
Set(Murl.Math.Frustum frustum)
frustum | The frustum. |
Check if the cone is intersecting a sphere.
Boolean IsIntersecting(Murl.Math.Sphere sphere)
sphere | The sphere to check. |
Get the string representation of the object.
String ToString()
Converts the object content to a string in a reasonable format.