minor polish here and there
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <future>
|
||||
|
||||
#include "audio_stream.h"
|
||||
#include "canvas.h"
|
||||
#include "manager.h"
|
||||
#include "render.h"
|
||||
#include "resources.h"
|
||||
#include "settings.h"
|
||||
|
||||
@@ -19,6 +22,9 @@ namespace anm2ed::imgui
|
||||
glm::vec2 savedPan{};
|
||||
glm::ivec2 mousePos{};
|
||||
std::vector<resource::Texture> renderFrames{};
|
||||
std::future<bool> renderFuture{};
|
||||
bool isRenderFutureValid{};
|
||||
std::string renderOutputPath{};
|
||||
|
||||
public:
|
||||
AnimationPreview();
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "render.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <cstring>
|
||||
#include <filesystem>
|
||||
#include <format>
|
||||
|
||||
@@ -34,6 +34,6 @@ namespace anm2ed::render
|
||||
|
||||
namespace anm2ed
|
||||
{
|
||||
bool animation_render(const std::string&, const std::string&, std::vector<resource::Texture>&, AudioStream&,
|
||||
bool animation_render(const std::string&, const std::string&, std::vector<resource::Texture>, AudioStream,
|
||||
render::Type, glm::ivec2, int);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user