This commit is contained in:
Hartmut Seichter 2020-12-09 12:55:33 +01:00
parent 523d1d7668
commit ce8e89af51
607 changed files with 402657 additions and 61 deletions

View file

@ -19,6 +19,8 @@ w.size = pw.size.new(640,480)
-- move window
w.position = pw.point.new(100,100)
print("Lines",pw.geometry.type.lines)
print("client size after resize: ",w.client_size.width,w.client_size.height)
local pl = pw.pipeline.new()

View file

@ -9,13 +9,13 @@ print("hello pixwerx!")
local s = pw.scene.new()
local e = pw.entity.new(s)
e = pw.entity.new(s)
e2 = pw.entity.new(s)
local e2 = pw.entity.new(s)
print(e)
e2.add_child(e)
e.add_child(e2)
print(s)
print(e.child_count)
-- print(s)
-- print(e2.child_count)