Added partial port of fastnoise-java

This commit is contained in:
Edwin Jakobs
2018-12-05 16:07:28 +01:00
parent 0272c68e0f
commit 362c7a5889
13 changed files with 733 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
package org.openrndr.extra.noise
fun Double.fastFloor(): Int {
return if (this >= 0) this.toInt() else this.toInt() - 1
}