Example/Tut01: Improve background color
Former-commit-id: 68e17a9e3537eb9fdcbb2598a135f79d64d63358 [formerly 31e48638ffe15d3736b5f7031a1ee694943e9dda] [formerly b66e37c14d914da006d9430b2ac970c0bdb8b926 [formerly 18438817c43953af720614a1c5f719d77ae6db0c]] Former-commit-id: 55e1b25146184f89cba9b1ff1ee7519db6fbd9e6 [formerly a23adc4f2e2973e6623ffec4c08ab3039ae11e20] Former-commit-id: e0c98071bf64cd3ef4d9f6c335606368626ae74e
This commit is contained in:
parent
ae75cb5425
commit
b91eac9935
|
|
@ -19,7 +19,7 @@ int main(int argc, char* argv[])
|
||||||
|
|
||||||
Ndk::World& world = application.AddWorld();
|
Ndk::World& world = application.AddWorld();
|
||||||
world.GetSystem<Ndk::RenderSystem>().SetGlobalUp(Nz::Vector3f::Down());
|
world.GetSystem<Ndk::RenderSystem>().SetGlobalUp(Nz::Vector3f::Down());
|
||||||
world.GetSystem<Ndk::RenderSystem>().SetDefaultBackground(Nz::ColorBackground::New(Nz::Color(192, 100, 100)));
|
world.GetSystem<Ndk::RenderSystem>().SetDefaultBackground(Nz::ColorBackground::New(Nz::Color(117, 122, 214)));
|
||||||
|
|
||||||
|
|
||||||
Ndk::EntityHandle viewEntity = world.CreateEntity();
|
Ndk::EntityHandle viewEntity = world.CreateEntity();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue