summaryrefslogtreecommitdiff
path: root/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'main.lua')
-rw-r--r--main.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/main.lua b/main.lua
index 970a0fb..84fb787 100644
--- a/main.lua
+++ b/main.lua
@@ -13,7 +13,10 @@ local cam = {
}
for i = 1, 100 do
- obj.new("test", {math.random(1000), math.random(1000)})
+ obj.new("test", {math.random() * 1000, math.random() * 1000}, {
+ avel = math.random() * 0.5 - 0.25,
+ vel = {math.random() * 0.5 - 0.25, math.random() * 0.5 - 0.25}
+ })
end
local function view_scale()