Skip to content

Commit

Permalink
docs(engine): fix settings include in voxels sample
Browse files Browse the repository at this point in the history
  • Loading branch information
fallenatlas committed Sep 26, 2023
1 parent 319def5 commit a05b5d0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions engine/samples/voxels/main.cpp
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
#include <cubos/core/settings.hpp>

#include <cubos/engine/env_settings/plugin.hpp>
#include <cubos/engine/renderer/light.hpp>
#include <cubos/engine/settings/settings.hpp>
#include <cubos/engine/renderer/directional_light.hpp>
#include <cubos/engine/renderer/plugin.hpp>
#include <cubos/engine/transform/plugin.hpp>
#include <cubos/engine/voxels/plugin.hpp>

using cubos::core::Settings;
using cubos::core::ecs::Commands;
using cubos::core::ecs::Read;
using cubos::core::ecs::Write;
Expand Down Expand Up @@ -69,7 +66,6 @@ static void spawnCarSystem(Commands cmds, Read<Assets> assets)
int main(int argc, char** argv)
{
Cubos cubos{argc, argv};
cubos.addPlugin(envSettingsPlugin);

cubos.addPlugin(rendererPlugin);
/// [Adding the plugin]
Expand Down

0 comments on commit a05b5d0

Please sign in to comment.