mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 14:13:48 +00:00
Just the functional assimp lib rather than the entire assimp repository unnecessarily.
This commit is contained in:
parent
0f7641a282
commit
e9ea38eda3
1747 changed files with 9012 additions and 925008 deletions
|
|
@ -2,8 +2,7 @@
|
|||
Open Asset Import Library (assimp)
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Copyright (c) 2006-2018, assimp team
|
||||
|
||||
Copyright (c) 2006-2017, assimp team
|
||||
|
||||
All rights reserved.
|
||||
|
||||
|
|
@ -50,9 +49,9 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <assimp/DefaultLogger.hpp>
|
||||
#include <assimp/scene.h>
|
||||
|
||||
#include <assimp/SpatialSort.h>
|
||||
#include "SpatialSort.h"
|
||||
#include "BaseProcess.h"
|
||||
#include <assimp/ParsingUtils.h>
|
||||
#include "ParsingUtils.h"
|
||||
|
||||
#include <list>
|
||||
|
||||
|
|
@ -212,7 +211,7 @@ template <> struct MinMaxChooser<aiVertexWeight> {
|
|||
// -------------------------------------------------------------------------------
|
||||
/** @brief Find the min/max values of an array of Ts
|
||||
* @param in Input array
|
||||
* @param size Number of elements to process
|
||||
* @param size Numebr of elements to process
|
||||
* @param[out] min minimum value
|
||||
* @param[out] max maximum value
|
||||
*/
|
||||
|
|
@ -348,7 +347,7 @@ class ComputeSpatialSortProcess : public BaseProcess
|
|||
void Execute( aiScene* pScene)
|
||||
{
|
||||
typedef std::pair<SpatialSort, ai_real> _Type;
|
||||
ASSIMP_LOG_DEBUG("Generate spatially-sorted vertex cache");
|
||||
DefaultLogger::get()->debug("Generate spatially-sorted vertex cache");
|
||||
|
||||
std::vector<_Type>* p = new std::vector<_Type>(pScene->mNumMeshes);
|
||||
std::vector<_Type>::iterator it = p->begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue