Project structure fixed

This commit is contained in:
pTalanov
2012-02-27 19:07:59 +04:00
parent 8bfa313ad4
commit 953c33a846
31 changed files with 100 additions and 555 deletions
+32
View File
@@ -0,0 +1,32 @@
package js;
import js.native
native
class MathClass() {
val PI : Double = 1.0;
fun random() : Double = 0.0;
fun abs(value : Double) = 0.0
fun acos(value : Double) = 0.0
fun asin(value : Double) = 0.0
fun atan(value : Double) = 0.0
fun atan2(x : Double, y : Double) = 0.0
fun cos(value : Double) = 0.0
fun sin(value : Double) = 0.0
fun exp(value : Double) = 0.0
fun max(vararg values : Double) = 0.0
fun max(vararg values : Int) : Int = js.noImpl
fun min(vararg values : Int) : Int = js.noImpl
fun min(vararg values : Double) = 0.0
fun sqrt(value : Double) = 0.0
fun tan(value : Double) = 0.0
fun log(value : Double) = 0.0
fun pow(base : Double, exp : Double) = 0.0
fun round(value : Double) = 0.0
fun floor(value : Double) = 0.0
fun ceil(value : Double) = 0.0
}
native
val Math = MathClass();