3#include "Services/TaskManager.h"
4#include "Commands/EditorCommand.h"
14 void apply()
override;
26 std::atomic<bool> modal =
false;
31 float reduction = 70.f;
33 float edgeLengthWeight = 1.0f;
35 bool error_guided =
true;
39 std::vector<MeshHandle> originalMeshes;
Contains the Engine, Renderer, resource managers and other systems needed to run Cogs....
Abstract base class for all editor commands showing GUI in interactive mode.
void apply() override
Run the command.
bool continueModal() override
Shall return true while the GUI should still be shown. False when.
void beginModal() override
Called when the command is initiated.
void showGui() override
Display custom ImGUI.
MeshHandle applyMesh(MeshHandle mesh) override
Workaround for having extendable mesh processing available without linking (e.g command -> RR).
Task id struct used to identify unique Task instances.