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