Merge pull request #2134 from erwincoumans/physx_clean

PhysX backend update
This commit is contained in:
erwincoumans
2019-02-28 22:49:43 -08:00
committed by GitHub
17 changed files with 930 additions and 1780 deletions

View File

@@ -5,7 +5,7 @@
#include <stdio.h> //fopen
#include "Bullet3Common/b3AlignedObjectArray.h"
#include "../../CommonInterfaces/CommonFileIOInterface.h"
#include <string.h> //memcpy
struct MySTLTriangle
{
float normal[3];

View File

@@ -95,6 +95,13 @@ struct UrdfRenderingInterface
virtual void setProjectiveTextureMatrices(const float viewMatrix[16], const float projectionMatrix[16]) {}
virtual void setProjectiveTexture(bool useProjectiveTexture) {}
virtual bool getCameraInfo(int* width, int* height, float viewMatrix[16], float projectionMatrix[16], float camUp[3], float camForward[3], float hor[3], float vert[3], float* yaw, float* pitch, float* camDist, float cameraTarget[3]) const
{
return false;
}
};
#endif //LINK_VISUAL_SHAPES_CONVERTER_H