Code cleanups
This commit is contained in:
@@ -68,6 +68,7 @@ namespace openVulkanoCpp::AR::Playback
|
||||
m_nextFrame = frame;
|
||||
m_frameConsumed = false;
|
||||
//TODO try to keep original frame timing
|
||||
|
||||
// Trigger events
|
||||
OnNewFrameAvailable();
|
||||
OnNewFrame(frame);
|
||||
|
||||
@@ -97,7 +97,7 @@ namespace openVulkanoCpp
|
||||
static constexpr int64_t OctToInt(std::string_view string)
|
||||
{
|
||||
int64_t result = 0;
|
||||
for(int i = string.length() - 1; i >= 0; i--)
|
||||
for(int i = static_cast<int>(string.length()) - 1; i >= 0; i--)
|
||||
{
|
||||
char c = string[i];
|
||||
if (c == 0) break;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace openVulkanoCpp::Math
|
||||
/**
|
||||
* \brief A class that represents an axis aligned bounding box
|
||||
*/
|
||||
class AABB final : Range<Math::Vector3f>
|
||||
class AABB final : public Range<Math::Vector3f>
|
||||
{
|
||||
public:
|
||||
AABB() : Range(Math::Vector3f(INFINITY), Math::Vector3f(-INFINITY)) {}
|
||||
|
||||
Reference in New Issue
Block a user