mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 06:00:12 +00:00
8517e85b21
add b3ResourcePath utility, to locate resources relative to executable
14 lines
283 B
C++
14 lines
283 B
C++
#ifndef _B3_RESOURCE_PATH_H
|
|
#define _B3_RESOURCE_PATH_H
|
|
|
|
#include <string>
|
|
|
|
class b3ResourcePath
|
|
{
|
|
public:
|
|
static int getExePath(char* path, int maxPathLenInBytes);
|
|
static int findResourcePath(const char* sourceName, char* resourcePath, int maxResourcePathLenInBytes);
|
|
};
|
|
#endif
|
|
|