Function VoxelPolygonClipper.ClipPolygonAlongX
ClipPolygonAlongX
(refVoxelPolygonClipper result, float multi, float offset)
Clips a polygon against an axis aligned half plane.
Public
void ClipPolygonAlongX (
result | Ouput vertices |
|
float | multi | Scale factor for the input vertices. Should be +1 or -1. If -1 the negative half plane is kept. |
float | offset | Offset to move the input vertices with before cutting |
Clips a polygon against an axis aligned half plane.
The polygons stored in this object are clipped against the half plane at x = -offset.