# HG changeset patch # User Sam # Date 1680630071 -25200 # Node ID 13febe7978e5361618d1f47b6c59b0715d7326ec # Parent 070a58822f09f97995fddf03486361d93508719f did: small changes from refactoring diff -r 070a58822f09 -r 13febe7978e5 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 070a58822f09 -r 13febe7978e5 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)], )),