[orx-obj-loader] Add demo descriptions

This commit is contained in:
Abe Pazos
2025-11-15 17:37:13 +01:00
parent ce123dfabd
commit 9d68b75c5d
5 changed files with 37 additions and 3 deletions

View File

@@ -3,6 +3,12 @@ import org.openrndr.draw.loadFont
import org.openrndr.extra.objloader.loadOBJasVertexBuffer
import org.openrndr.extra.objloader.saveOBJ
/**
* Demonstrates how to save a `VertexBuffer` as an `.obj` file using the
* `VertexBuffer.saveOBJ()` method.
*
* The program loads an existing OBJ file, then saves it with a new file name.
*/
fun main() = application {
configure {
width = 720