[orx-obj-loader] Add demo descriptions
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user