mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
26 lines
452 B
C++
26 lines
452 B
C++
#ifndef B3_IMPORT_MESH_UTILITY_H
|
|
#define B3_IMPORT_MESH_UTILITY_H
|
|
|
|
#include <string>
|
|
|
|
struct b3ImportMeshData
|
|
{
|
|
struct GLInstanceGraphicsShape* m_gfxShape;
|
|
|
|
unsigned char* m_textureImage;//in 3 component 8-bit RGB data
|
|
int m_textureWidth;
|
|
int m_textureHeight;
|
|
};
|
|
|
|
class b3ImportMeshUtility
|
|
{
|
|
public:
|
|
|
|
static bool loadAndRegisterMeshFromFileInternal(const std::string& fileName, b3ImportMeshData& meshData);
|
|
|
|
};
|
|
|
|
|
|
#endif //B3_IMPORT_MESH_UTILITY_H
|
|
|