mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 16:15:43 +00:00
Fix SndCurveDumper wrong assertion
This commit is contained in:
parent
dd23e3f66d
commit
8aba79faf9
@ -27,7 +27,7 @@ void SndCurveDumper::Init(const size_t totalKnots)
|
||||
|
||||
void SndCurveDumper::WriteKnot(const float x, const float y)
|
||||
{
|
||||
assert(m_current_knot >= m_total_knots);
|
||||
assert(m_current_knot < m_total_knots);
|
||||
|
||||
m_stream << "\n" << std::fixed << std::setprecision(m_precision) << x << " " << y;
|
||||
|
||||
@ -36,7 +36,7 @@ void SndCurveDumper::WriteKnot(const float x, const float y)
|
||||
|
||||
void SndCurveDumper::WriteKnot(const double x, const double y)
|
||||
{
|
||||
assert(m_current_knot >= m_total_knots);
|
||||
assert(m_current_knot < m_total_knots);
|
||||
|
||||
m_stream << x << " " << y << "\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user