diff src/luan/modules/Math.luan @ 1088:bae2d0c2576c

change module naming convention
author Franklin Schmidt <fschmidt@gmail.com>
date Mon, 26 Dec 2016 22:29:36 -0700
parents 1a68fc55a80c
children 8d95711f6615
line wrap: on
line diff
--- a/src/luan/modules/Math.luan	Mon Dec 19 01:38:21 2016 -0700
+++ b/src/luan/modules/Math.luan	Mon Dec 26 22:29:36 2016 -0700
@@ -5,32 +5,32 @@
 local Double = require "java:java.lang.Double"
 
 
-local M = {}
+local Math = {}
 
-M.abs = MathLuan.abs
-M.acos = MathLuan.acos
-M.asin = MathLuan.asin
-M.atan = MathLuan.atan
-M.atan2 = MathLuan.atan2
-M.ceil = MathLuan.ceil
-M.cos = MathLuan.cos
-M.cosh = MathLuan.cosh
-M.deg = MathLuan.deg
-M.exp = MathLuan.exp
-M.floor = MathLuan.floor
-M.fmod = MathLuan.fmod
-M.huge = Double.POSITIVE_INFINITY
-M.log = MathLuan.log
-M.max = MathLuan.max
-M.max_integer = Integer.MAX_VALUE
-M.min = MathLuan.min
-M.min_integer = Integer.MIN_VALUE
-M.modf = MathLuan.modf
-M.pi = JavaMath.PI
-M.rad = MathLuan.rad
-M.random = MathLuan.random
-M.sin = MathLuan.sin
-M.sqrt = MathLuan.sqrt
-M.tan = MathLuan.tan
+Math.abs = MathLuan.abs
+Math.acos = MathLuan.acos
+Math.asin = MathLuan.asin
+Math.atan = MathLuan.atan
+Math.atan2 = MathLuan.atan2
+Math.ceil = MathLuan.ceil
+Math.cos = MathLuan.cos
+Math.cosh = MathLuan.cosh
+Math.deg = MathLuan.deg
+Math.exp = MathLuan.exp
+Math.floor = MathLuan.floor
+Math.fmod = MathLuan.fmod
+Math.huge = Double.POSITIVE_INFINITY
+Math.log = MathLuan.log
+Math.max = MathLuan.max
+Math.max_integer = Integer.MAX_VALUE
+Math.min = MathLuan.min
+Math.min_integer = Integer.MIN_VALUE
+Math.modf = MathLuan.modf
+Math.pi = JavaMath.PI
+Math.rad = MathLuan.rad
+Math.random = MathLuan.random
+Math.sin = MathLuan.sin
+Math.sqrt = MathLuan.sqrt
+Math.tan = MathLuan.tan
 
-return M
+return Math