mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 05:07:43 +00:00
Work on character animation
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#include "CCharAnimTime.hpp"
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <float.h>
|
||||
|
||||
namespace urde
|
||||
{
|
||||
@@ -19,6 +21,11 @@ bool CCharAnimTime::EqualsZero() const
|
||||
return (m_time == 0.f);
|
||||
}
|
||||
|
||||
bool CCharAnimTime::EpsilonZero() const
|
||||
{
|
||||
return (std::fabs(m_time) < FLT_EPSILON);
|
||||
}
|
||||
|
||||
bool CCharAnimTime::GreaterThanZero() const
|
||||
{
|
||||
if (EqualsZero())
|
||||
|
||||
Reference in New Issue
Block a user