[orx-mesh-generators] Add comments for resolveMesh(), capMesh() (#254)

This commit is contained in:
Abe Pazos
2022-08-10 20:57:22 +00:00
committed by GitHub
parent ee9c5e0f70
commit 09cb062154
5 changed files with 131 additions and 8 deletions

View File

@@ -12,6 +12,7 @@ fun main() {
application {
program {
val box = boxMesh(1.0, 1.0, 1.0)
val texture = colorBuffer(256, 256)
val s = texture.shadow
for (y in 0 until 256) {
@@ -20,6 +21,7 @@ fun main() {
}
}
s.upload()
if (System.getProperty("takeScreenshot") == "true") {
extend(SingleScreenshot()) {
this.outputFile = System.getProperty("screenshotPath")