Merge branch 'master' of https://github.com/erwincoumans/bullet3
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
#include "../ImportObjDemo/Wavefront2GLInstanceGraphicsShape.h"
|
#include "../ImportObjDemo/Wavefront2GLInstanceGraphicsShape.h"
|
||||||
#include "../../Utils/b3ResourcePath.h"
|
#include "../../Utils/b3ResourcePath.h"
|
||||||
#include "Bullet3Common/b3FileUtils.h"
|
#include "Bullet3Common/b3FileUtils.h"
|
||||||
#include "../../ThirdPartyLibs/stb_image/stb_image.h"
|
#include "stb_image/stb_image.h"
|
||||||
#include "../ImportObjDemo/LoadMeshFromObj.h"
|
#include "../ImportObjDemo/LoadMeshFromObj.h"
|
||||||
bool b3ImportMeshUtility::loadAndRegisterMeshFromFileInternal(const std::string& fileName, b3ImportMeshData& meshData)
|
bool b3ImportMeshUtility::loadAndRegisterMeshFromFileInternal(const std::string& fileName, b3ImportMeshData& meshData)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
..
|
..
|
||||||
|
../ThirdPartyLibs
|
||||||
../../src
|
../../src
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1406,7 +1406,7 @@ void GLInstancingRenderer::updateCamera(int upAxis)
|
|||||||
|
|
||||||
|
|
||||||
//#define STB_IMAGE_WRITE_IMPLEMENTATION
|
//#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||||
#include "stb_image_write.h"
|
#include "stb_image/stb_image_write.h"
|
||||||
void writeTextureToPng(int textureWidth, int textureHeight, const char* fileName, int numComponents)
|
void writeTextureToPng(int textureWidth, int textureHeight, const char* fileName, int numComponents)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -919,7 +919,7 @@ void SimpleOpenGL3App::getScreenPixels(unsigned char* rgbaBuffer, int bufferSize
|
|||||||
}
|
}
|
||||||
|
|
||||||
//#define STB_IMAGE_WRITE_IMPLEMENTATION
|
//#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||||
#include "stb_image_write.h"
|
#include "stb_image/stb_image_write.h"
|
||||||
static void writeTextureToFile(int textureWidth, int textureHeight, const char* fileName, FILE* ffmpegVideo)
|
static void writeTextureToFile(int textureWidth, int textureHeight, const char* fileName, FILE* ffmpegVideo)
|
||||||
{
|
{
|
||||||
int numComponents = 4;
|
int numComponents = 4;
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
#define STB_TRUETYPE_IMPLEMENTATION
|
#define STB_TRUETYPE_IMPLEMENTATION
|
||||||
#define STBTT_malloc(x,u) malloc(x)
|
#define STBTT_malloc(x,u) malloc(x)
|
||||||
#define STBTT_free(x,u) free(x)
|
#define STBTT_free(x,u) free(x)
|
||||||
#include "stb_truetype.h"
|
#include "stb_image/stb_truetype.h"
|
||||||
|
|
||||||
#define HASH_LUT_SIZE 256
|
#define HASH_LUT_SIZE 256
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
#define STB_IMAGE_WRITE_IMPLEMENTATION
|
||||||
#include "stb_image_write.h"
|
#include "stb_image/stb_image_write.h"
|
||||||
|
|
||||||
|
|
||||||
static unsigned int s_indexData[INDEX_COUNT];
|
static unsigned int s_indexData[INDEX_COUNT];
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
initGlew()
|
initGlew()
|
||||||
|
|
||||||
includedirs {
|
includedirs {
|
||||||
|
"../ThirdPartyLibs",
|
||||||
"../../src",
|
"../../src",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ subject to the following restrictions:
|
|||||||
#include "../Importers/ImportURDFDemo/UrdfParser.h"
|
#include "../Importers/ImportURDFDemo/UrdfParser.h"
|
||||||
#include "../SharedMemory/SharedMemoryPublic.h"//for b3VisualShapeData
|
#include "../SharedMemory/SharedMemoryPublic.h"//for b3VisualShapeData
|
||||||
#include "../TinyRenderer/model.h"
|
#include "../TinyRenderer/model.h"
|
||||||
#include "../ThirdPartyLibs/stb_image/stb_image.h"
|
#include "stb_image/stb_image.h"
|
||||||
|
|
||||||
struct MyTexture2
|
struct MyTexture2
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ INCLUDE_DIRECTORIES(
|
|||||||
../../src
|
../../src
|
||||||
../gtest-1.7.0/include
|
../gtest-1.7.0/include
|
||||||
../../Extras/InverseDynamics
|
../../Extras/InverseDynamics
|
||||||
|
../../examples/ThirdPartyLibs
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -85,8 +85,8 @@
|
|||||||
"../../examples/InverseDynamics",
|
"../../examples/InverseDynamics",
|
||||||
"../../examples/ThirdPartyLibs",
|
"../../examples/ThirdPartyLibs",
|
||||||
"../../Extras/InverseDynamics",
|
"../../Extras/InverseDynamics",
|
||||||
"../gtest-1.7.0/include"
|
"../gtest-1.7.0/include",
|
||||||
|
"../../examples/ThirdPartyLibs",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user