Struct VoxelPolygonClipper

Package

Utility for clipping polygons.

Public Methods

ClipPolygon (vIn, n, vOut, multi, offset, axis)

Clips a polygon against an axis aligned half plane.

Public
ClipPolygon (vIn, n, vOut, multi, offset, axis)

Clips a polygon against an axis aligned half plane.

Public
ClipPolygonY (vIn, n, vOut, multi, offset, axis)
Public
Init ()

Initialize buffers if they are null.

Public

Public Variables

clipPolygonCache

Cache this buffer to avoid unnecessary allocations.

Public
clipPolygonIntCache

Cache this buffer to avoid unnecessary allocations.

Public