#include <CCObjLoader.h>
|
static std::string | LoadObj (shapes_t &shapes, const char *filename, const char *mtl_basepath=NULL) |
| Loads .obj from a file. More...
|
|
static std::string LoadObj |
( |
shapes_t & |
shapes, |
|
|
const char * |
filename, |
|
|
const char * |
mtl_basepath = NULL |
|
) |
| |
|
static |
Loads .obj from a file.
'shapes' will be filled with parsed shape data The function returns error string. Returns empty string when loading .obj success. 'mtl_basepath' is optional, and used for base path for .mtl file.
var LoadObj |
( |
var |
shapes, |
|
|
var |
filename, |
|
|
var |
mtl_basepath = NULL |
|
) |
| |
|
static |
Loads .obj from a file.
'shapes' will be filled with parsed shape data The function returns error string. Returns empty string when loading .obj success. 'mtl_basepath' is optional, and used for base path for .mtl file.
local LoadObj |
( |
local |
shapes, |
|
|
local |
filename, |
|
|
local |
mtl_basepath = NULL |
|
) |
| |
|
static |
Loads .obj from a file.
'shapes' will be filled with parsed shape data The function returns error string. Returns empty string when loading .obj success. 'mtl_basepath' is optional, and used for base path for .mtl file.
The documentation for this class was generated from the following file: