Fix handling end of archive
This commit is contained in:
@@ -109,7 +109,11 @@ namespace openVulkanoCpp
|
||||
{
|
||||
m_archiveEntry = nullptr;
|
||||
}
|
||||
if (result == ARCHIVE_EOF) m_eof = true;
|
||||
if (result == ARCHIVE_EOF)
|
||||
{
|
||||
m_archiveEntry = nullptr;
|
||||
m_eof = true;
|
||||
}
|
||||
}
|
||||
|
||||
size_t ArchiveReader::ExtractRemaining(std::string_view targetDir)
|
||||
|
||||
@@ -18,6 +18,8 @@ namespace openVulkanoCpp::Math
|
||||
Vector3_SIMD<T> m_position;
|
||||
|
||||
public:
|
||||
Pose() {}
|
||||
|
||||
Pose(const Quaternion<T>& orientation, const Vector3_SIMD<T>& position)
|
||||
: m_orientation(orientation), m_position(position)
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user