Double (class)

From Moondust Wiki
Revision as of 18:55, 17 October 2014 by Kevsoft (talk | contribs) (Created page with "Double is a '''not''' lua-used type. It is only provided as hardcoded argument for several functions. This argument-type is based on the lua-typ number....")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Double is a not lua-used type. It is only provided as hardcoded argument for several functions.

This argument-type is based on the lua-typ number.

local pi = 3.14
local myRectd = newRECTd()
myRectd.top = pi
myRectd.left = pi
myRectd.bottom = pi + 5.20
myRectd.right = pi * pi
--Do other stuff