19void getPathName(
const string &path,
const string &base, vector<string> &pathnames)
26 pathnames.push_back(base);
31 if (sep ==
uint(string::npos)) {
35 dir = path.substr(
pos, sep -
pos);
39 res = string(cleaned);
45 pathnames.push_back(res);
int BLI_path_normalize(char *path) ATTR_NONNULL(1)
char * STRNCPY(char(&dst)[N], const char *src)
Configuration definitions.
static DBVT_INLINE btScalar size(const btDbvtVolume &a)
static const string DIR_SEP("/")
static const string PATH_SEP(":")
void getPathName(const string &path, const string &base, vector< string > &pathnames)