moving to a structure in visual representing the underlying APIs first and then layering on top the scene graph. Various other additions and fixes.
This commit is contained in:
parent
7037abbcb6
commit
40e8c43e01
15 changed files with 217 additions and 37 deletions
|
@ -5,7 +5,9 @@
|
|||
-- loading our libraries
|
||||
pw.script:load_all()
|
||||
|
||||
local img = pw.imageio:get():read("/home/hartmut/Development/pixwerx/share/assets/textures/checkerboard-512-32.png",0)
|
||||
local img = pw.imageio:get():read("/Users/hartmut/Code/pixwerx/share/assets/textures/checkerboard-512-32.png",0)
|
||||
|
||||
-- pw.imageio:get():read("/home/hartmut/Development/pixwerx/share/assets/textures/checkerboard-512-32.png",0)
|
||||
|
||||
print(img.size.width,img.size.height)
|
||||
|
||||
|
|
9
src/scripts/tests/test_system.lua
Normal file
9
src/scripts/tests/test_system.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
--
|
||||
-- pixwerx - test - io
|
||||
--
|
||||
|
||||
-- loading our libraries
|
||||
pw.script:load_all()
|
||||
|
||||
|
||||
print(pw.path:get().executable_path)
|
Loading…
Add table
Add a link
Reference in a new issue