contourSegmentWithNormals
fun contourSegmentWithNormals(linearContour: List<Vector2>, linearContourNormals: List<Vector2>, frame0: Matrix44, frame1: Matrix44, writer: VertexWriter, useFaceNormals: Boolean)(source)
Writes quads to writer creating a surface that connects two displaced instances of linearContour. The positions and orientations of the two contours are defined by the frame0 and frame1 matrices.
Parameters
linearContour
the cross-section of the surface to create
frame0
a transformation matrix that defines an initial position
frame1
a transformation matrix that defines a final position
writer
the vertex writer function
fun contourSegmentWithNormals(linearContour: List<Vector2>, linearContourNormals: List<Vector2>, scale0: Double, scale1: Double, dscale0: Double, dscale1: Double, torsion0: Double, torsion1: Double, dtorsion0: Double, dtorsion1: Double, frame0: Matrix44, frame1: Matrix44, dframe0: Matrix44, dframe1: Matrix44, tangent0: Vector3, tangent1: Vector3, writer: VertexWriter, useFaceNormals: Boolean = true)(source)