mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
Updated assimp to latest
This commit is contained in:
parent
25ce4477ce
commit
161bf7f83b
461 changed files with 34662 additions and 30165 deletions
|
|
@ -2,7 +2,8 @@
|
|||
Open Asset Import Library (assimp)
|
||||
----------------------------------------------------------------------
|
||||
|
||||
Copyright (c) 2006-2017, assimp team
|
||||
Copyright (c) 2006-2019, assimp team
|
||||
|
||||
|
||||
All rights reserved.
|
||||
|
||||
|
|
@ -42,7 +43,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#define ASSIMP_Q3BSPFILEDATA_H_INC
|
||||
|
||||
#include <vector>
|
||||
#include <string.h> //memset
|
||||
#include <string.h>
|
||||
#include <string>
|
||||
|
||||
namespace Assimp {
|
||||
|
|
@ -76,25 +77,21 @@ struct sQ3BSPHeader {
|
|||
};
|
||||
|
||||
/// Describes an entry.
|
||||
struct sQ3BSPLump
|
||||
{
|
||||
struct sQ3BSPLump {
|
||||
int iOffset; ///< Offset from start pointer of file
|
||||
int iSize; ///< Size of part
|
||||
};
|
||||
|
||||
struct vec2f
|
||||
{
|
||||
struct vec2f {
|
||||
float x,y;
|
||||
};
|
||||
|
||||
struct vec3f
|
||||
{
|
||||
struct vec3f {
|
||||
float x, y, z;
|
||||
};
|
||||
|
||||
/// Vertex of a Q3 level
|
||||
struct sQ3BSPVertex
|
||||
{
|
||||
struct sQ3BSPVertex {
|
||||
vec3f vPosition; ///< Position of vertex
|
||||
vec2f vTexCoord; ///< (u,v) Texturecoordinate of detailtexture
|
||||
vec2f vLightmap; ///< (u,v) Texturecoordinate of lightmap
|
||||
|
|
@ -103,8 +100,7 @@ struct sQ3BSPVertex
|
|||
};
|
||||
|
||||
/// A face in bsp format info
|
||||
struct sQ3BSPFace
|
||||
{
|
||||
struct sQ3BSPFace {
|
||||
int iTextureID; ///< Index in texture array
|
||||
int iEffect; ///< Index in effect array (-1 = no effect)
|
||||
int iType; ///< 1=Polygon, 2=Patch, 3=Mesh, 4=Billboard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue