Example/Tut01: Improve background color
Former-commit-id: 883a1115cb7fee2581c8a00db0e194482cf6561e [formerly 29bf1560e1953cf52b5c78ccff06cd4505412da3] [formerly a455d8601a37dff40f7f19b3298a7bab86f721ac [formerly 845a30ade4c32adba2d3b031c5bdf85ebbefb7bf]] Former-commit-id: cda183f3e044cf0798db4e356fc053286e22613d [formerly 17e2ff120bc690719ae5f9eb466afb8fb7728270] Former-commit-id: e1cd50d13b37cfc293a0405093e0fb57f3990c58
This commit is contained in:
parent
bb4b3080a3
commit
42db00a52c
|
|
@ -19,7 +19,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
Ndk::World& world = application.AddWorld();
|
||||
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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue