Skip to content

Commit

Permalink
Merge 74db0e9 into 18879c0
Browse files Browse the repository at this point in the history
  • Loading branch information
kimkulling committed Sep 26, 2018
2 parents 18879c0 + 74db0e9 commit a21b3d0
Show file tree
Hide file tree
Showing 10 changed files with 337 additions and 288 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -51,7 +51,8 @@ matrix:
env: ANALYZE=ON
- os: linux
compiler: gcc
env: DISABLE_EXPORTERS=YES ENABLE_COVERALLS=ON
# env: DISABLE_EXPORTERS=YES ENABLE_COVERALLS=ON
env: ENABLE_COVERALLS=ON
- os: linux
compiler: gcc
env: SHARED_BUILD=ON
Expand Down
17 changes: 6 additions & 11 deletions code/Q3BSPFileData.h
Expand Up @@ -43,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 {
Expand Down Expand Up @@ -77,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
Expand All @@ -104,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
Expand Down

0 comments on commit a21b3d0

Please sign in to comment.