# HG changeset patch # User Sam # Date 1680630071 -25200 # Node ID 40ff2453855eea75684204ff7d65d54dd0694a6e # Parent bbe221af55d1e3bb2d727a77d627515336222f66 did: small changes from refactoring diff -r bbe221af55d1 -r 40ff2453855e README.md --- a/README.md Wed Apr 05 00:40:38 2023 +0700 +++ b/README.md Wed Apr 05 00:41:11 2023 +0700 @@ -48,12 +48,13 @@ Quality improvments: - [x] Better scenegraph API -- [ ] Better rendering pipeline API +- [x] Better rendering pipeline API Other: - [x] Mouse/Keyboard input handling - [x] X11 - [x] Win32 +- [ ] Enable/disable hardware cursor - [ ] Config files ala \*.ini files (use std/parsecfg) - [ ] Input-mapping configuration - [ ] Audio playing (Alsa, Windows Waveform API?) diff -r bbe221af55d1 -r 40ff2453855e tests/test_vulkan_wrapper.nim --- a/tests/test_vulkan_wrapper.nim Wed Apr 05 00:40:38 2023 +0700 +++ b/tests/test_vulkan_wrapper.nim Wed Apr 05 00:41:11 2023 +0700 @@ -1,12 +1,7 @@ +import std/os import std/options -import semicongine/vulkan -import semicongine/platform/window -import semicongine/math -import semicongine/entity -import semicongine/scene -import semicongine/gpu_data -import semicongine/mesh +import semicongine proc diagnostics(instance: Instance) = # diagnostic output @@ -40,7 +35,6 @@ echo " " & $format when isMainModule: - # INIT ENGINE: # create instance var thewindow = createWindow("Test") @@ -92,7 +86,7 @@ var thescene = Scene( name: "main", root: newEntity("root", - newEntity("triangle1", initMesh( + newEntity("triangle1", newMesh( positions=[newVec3f(0.0, -0.5), newVec3f(0.5, 0.5), newVec3f(-0.5, 0.5)], colors=[newVec3f(1.0, 0.0, 0.0), newVec3f(0.0, 1.0, 0.0), newVec3f(0.0, 0.0, 1.0)], )),