finally got the ortho projection and some other stuff working

This commit is contained in:
Hartmut Seichter 2019-02-19 21:59:39 +01:00
parent 8eda3df225
commit 9db2490989
6 changed files with 70 additions and 25 deletions

View file

@ -14,9 +14,10 @@ w.visible = false
w.title = "pixwerx 0.1"
-- set size
w.size = pw.size.new(800,600)
--w.size = pw.size.new(640,480)
-- move window
w.position = pw.point.new(100,100)
--w.position = pw.point.new(100,100)
print("client size after resize: ",w.client_size.width,w.client_size.height)