Cleaned up includes.
This commit is contained in:
parent
36c7f7a11e
commit
d32c247cc0
@ -6,6 +6,7 @@
|
||||
#define ANIMTESTBED_ANIMGRAPHBLENDTREE_H
|
||||
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
||||
#include "AnimNode.h"
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include <ozz/base/maths/soa_transform.h>
|
||||
|
||||
#include <cstring>
|
||||
#include <iostream>
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -5,6 +5,8 @@
|
||||
#ifndef ANIMTESTBED_ANIMGRAPHRESOURCE_H
|
||||
#define ANIMTESTBED_ANIMGRAPHRESOURCE_H
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "3rdparty/json/json.hpp"
|
||||
#include "AnimGraphNodes.h"
|
||||
|
||||
|
@ -3,7 +3,3 @@
|
||||
//
|
||||
|
||||
#include "SyncTrack.h"
|
||||
|
||||
#include <imgui.h>
|
||||
|
||||
#include <sstream>
|
@ -15,6 +15,7 @@
|
||||
#include "imnodes.h"
|
||||
#include "misc/cpp/imgui_stdlib.h"
|
||||
#include "nfd.h"
|
||||
#include "ozz/base/log.h"
|
||||
#include "src/AnimGraph/AnimGraphResource.h"
|
||||
|
||||
struct EditorState {
|
||||
|
@ -4,9 +4,13 @@
|
||||
|
||||
#include "SkinnedMesh.h"
|
||||
|
||||
#include <HandmadeMath.h>
|
||||
#include <imgui.h>
|
||||
|
||||
#include "ozz/animation/runtime/local_to_model_job.h"
|
||||
#include "ozz/base/io/archive.h"
|
||||
#include "ozz/base/io/stream.h"
|
||||
#include "ozz/base/log.h"
|
||||
|
||||
SkinnedMesh::~SkinnedMesh() {
|
||||
while (m_animations.size() > 0) {
|
||||
ozz::animation::Animation* animation_ptr =
|
||||
@ -98,4 +102,3 @@ void SkinnedMesh::CalcModelMatrices() {
|
||||
}
|
||||
|
||||
void SkinnedMesh::DrawSkeleton() {}
|
||||
|
||||
|
@ -5,21 +5,13 @@
|
||||
#ifndef ANIMTESTBED_SKINNEDMESH_H
|
||||
#define ANIMTESTBED_SKINNEDMESH_H
|
||||
|
||||
// ozz-animation headers
|
||||
#include <cmath> // fmodf
|
||||
#include <memory> // std::unique_ptr, std::make_unique
|
||||
#include "AnimGraph/SyncTrack.h"
|
||||
|
||||
#include "SyncTrack.h"
|
||||
#include "ozz/animation/runtime/animation.h"
|
||||
#include "ozz/animation/runtime/local_to_model_job.h"
|
||||
#include "ozz/animation/runtime/sampling_job.h"
|
||||
#include "ozz/animation/runtime/skeleton.h"
|
||||
#include "ozz/base/containers/vector.h"
|
||||
#include "ozz/base/io/archive.h"
|
||||
#include "ozz/base/io/stream.h"
|
||||
#include "ozz/base/log.h"
|
||||
#include "ozz/base/maths/soa_transform.h"
|
||||
#include "ozz/base/maths/vec_float.h"
|
||||
|
||||
struct SkinnedMesh {
|
||||
SkinnedMesh() : m_sync_track_override(false), m_override_anim(0.f) {}
|
||||
|
@ -5,6 +5,7 @@
|
||||
#include "SkinnedMeshResource.h"
|
||||
|
||||
#include <fstream>
|
||||
#include <iostream>
|
||||
|
||||
#include "3rdparty/json/json.hpp"
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "SyncTrack.h"
|
||||
#include "AnimGraph/SyncTrack.h"
|
||||
#include "SkinnedMesh.h"
|
||||
|
||||
struct SkinnedMeshResource {
|
||||
|
@ -2,7 +2,7 @@
|
||||
// Created by martin on 16.11.21.
|
||||
//
|
||||
|
||||
#include "SyncTrack.h"
|
||||
#include "AnimGraph/SyncTrack.h"
|
||||
#include "catch.hpp"
|
||||
|
||||
TEST_CASE("Basic", "[SyncTrack]") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user