[orx-mesh-generators] Comment extrude demos

Remove deprecated use of Random.
This commit is contained in:
Abe Pazos
2025-08-28 11:45:20 +02:00
parent c8e02bfb1c
commit a4079327dd
6 changed files with 73 additions and 14 deletions

View File

@@ -11,6 +11,16 @@ import org.openrndr.extra.shapes.splines.toPath3D
import org.openrndr.math.Vector3
import org.openrndr.shape.Circle
/**
* Demonstrates how to create curved tubes by extruding
* a circular contour along a 3D catmullRom-path
* using [buildTriangleMesh] and [extrudeContourSteps].
*
* The result is a [org.openrndr.draw.VertexBuffer] which can be rendered with
* `drawer.vertexBuffer()`.
* An [Orbital] camera makes the scene interactive. A minimal `shadeStyle` is used
* to simulate a directional light.
*/
fun main() = application {
configure {
width = 720