extrudeCaps
fun extrudeCaps(linearShape: Shape, path: Path3D, startCap: Boolean, endCap: Boolean, frames: List<Matrix44>, writer: VertexWriter)(source)
Adds caps to an extruded shape
Parameters
linearShape
the cross-section of the mesh
path
the 3D path
startCap
adds a start cap if set to true
endCap
adds an end cap if set to true
frames
a list of matrices holding the transformation matrices along the path
writer
the vertex writer function