mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-26 07:39:27 +00:00
Update squish library to 1.11
This commit is contained in:
parent
31036c4031
commit
8de0b7cbb1
14 changed files with 99 additions and 247 deletions
|
|
@ -24,7 +24,6 @@
|
|||
-------------------------------------------------------------------------- */
|
||||
|
||||
#include "colourset.h"
|
||||
#include "squishMath.h"
|
||||
|
||||
namespace squish {
|
||||
|
||||
|
|
@ -104,7 +103,7 @@ ColourSet::ColourSet( u8 const* rgba, int mask, int flags )
|
|||
|
||||
// square root the weights
|
||||
for( int i = 0; i < m_count; ++i )
|
||||
m_weights[i] = SquishMath::sqrt( m_weights[i] );
|
||||
m_weights[i] = std::sqrt( m_weights[i] );
|
||||
}
|
||||
|
||||
void ColourSet::RemapIndices( u8 const* source, u8* target ) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue