type
Mixin
Name
CuboidVolume
Enhancement description.
A mixin class that represents an enclosed cuboid volume.
Suggested methods:
-
Constructors (and opAssign) using:
- VecMin, VecMax
- width, height, depth
-
bool IsInside(vec) - Returns if a vector is inside this enclosed volume (useful for emulating triggers)
-
setMin(vec) / setMax(vec) - Set the min/maxs
-
opMul - Scales the volume on all axis
-
scaleX, scaleY, scaleZ - scales respective axis
-
SetOrigin - Set an origin to orient this in space
-
GetOrigin - Get the origin of the center of this cuboid
type
Mixin
Name
CuboidVolume
Enhancement description.
A mixin class that represents an enclosed cuboid volume.
Suggested methods:
Constructors (and opAssign) using:
bool IsInside(vec)- Returns if a vector is inside this enclosed volume (useful for emulating triggers)setMin(vec)/setMax(vec)- Set the min/maxsopMul- Scales the volume on all axisscaleX,scaleY,scaleZ- scales respective axisSetOrigin- Set an origin to orient this in spaceGetOrigin- Get the origin of the center of this cuboid