Fixed include errors.
All checks were successful
Build & Release / Linux-AMD64-Build (push) Successful in 1m21s
Build & Release / Windows-AMD64-Build (push) Successful in 1m48s
Build & Release / Linux-AARCH64-Build (push) Successful in 3m20s

This commit is contained in:
Arron David Nelson 2024-02-20 23:06:58 -08:00
parent 58f624a18a
commit 405acb026f
8 changed files with 12 additions and 10 deletions

View File

@ -6,7 +6,7 @@
#include "Glyph.h" #include "Glyph.h"
#include "ehs/Anchor.h" #include "ehs/Anchor.h"
#include "ehs/io/img/Img.h" #include "ehs/io/img/Img.h"
#include "ehs/io/model/Mesh.h" #include "ehs/io/mdl/Mesh.h"
namespace ehs namespace ehs
{ {

View File

@ -58,8 +58,8 @@ namespace ehs
} }
Audio::Audio(const Str_8& filePath) Audio::Audio(const Str_8& filePath)
: Resource(File::ParseName_8(filePath)), sampleRate(0), dataType(DataType::FLOAT), byteDepth(0), channels(0), : Resource(File::ParseName_8(filePath)), sampleRate(0), dataType(DataType::FLOAT), byteDepth(0), channels(0),
frames(0), length(0.0f), data(nullptr), peak(nullptr) frames(0), length(0.0f), data(nullptr), peak(nullptr)
{ {
AddType("Audio"); AddType("Audio");
@ -81,6 +81,8 @@ namespace ehs
} }
Audio::Audio(const Str_8& filePath, DataType type) Audio::Audio(const Str_8& filePath, DataType type)
: Resource(File::ParseName_8(filePath)), sampleRate(0), dataType(DataType::FLOAT), byteDepth(0), channels(0),
frames(0), length(0.0f), data(nullptr), peak(nullptr)
{ {
AddType("Audio"); AddType("Audio");
@ -2048,7 +2050,7 @@ namespace ehs
UInt_64 size = dChunk.GetData().Size(); UInt_64 size = dChunk.GetData().Size();
UInt_64 frames = size / byteDepth / channels; UInt_64 frames = size / byteDepth / channels;
*out = std::move(Audio(out->GetId(), sampleRate, dataType, channels, frames)); *out = Audio(out->GetId(), sampleRate, dataType, channels, frames);
Serializer<> dataSer = dChunk.GetData(); Serializer<> dataSer = dChunk.GetData();

View File

@ -1,4 +1,4 @@
#include "ehs/io/model/AnimBone.h" #include "ehs/io/mdl/AnimBone.h"
#include <algorithm> #include <algorithm>

View File

@ -1,4 +1,4 @@
#include "ehs/io/model/Animation.h" #include "ehs/io/mdl/Animation.h"
namespace ehs namespace ehs
{ {

View File

@ -1,4 +1,4 @@
#include "ehs/io/model/Bone.h" #include "ehs/io/mdl/Bone.h"
namespace ehs namespace ehs
{ {

View File

@ -1,4 +1,4 @@
#include "ehs/io/model/KeyFrame.h" #include "ehs/io/mdl/KeyFrame.h"
#include <algorithm> #include <algorithm>

View File

@ -1,4 +1,4 @@
#include "ehs/io/model/Mesh.h" #include "ehs/io/mdl/Mesh.h"
namespace ehs namespace ehs
{ {

View File

@ -1,4 +1,4 @@
#include "ehs/io/model/PropertyChange.h" #include "ehs/io/mdl/PropertyChange.h"
namespace ehs namespace ehs
{ {