add math.lua, move all math related helpers in to it

This commit is contained in:
Qingping Hou
2013-02-19 11:57:14 +08:00
parent 79b3ee91c7
commit f3452234ea
5 changed files with 33 additions and 36 deletions

View File

@@ -1,3 +1,5 @@
require "math"
ReaderPaging = InputContainer:new{
current_page = 0,
number_of_pages = 0,