Easy3D 2.6.1
|
Resources used in Easy3D. More...
Functions | |
void | initialize (const std::string &resource_dir=Easy3D_RESOURCE_DIR) |
Initializes the resource directory (that contains color maps, shaders, textures, fonts, etc.). | |
std::string | directory () |
Returns the resource directory (containing color maps, shaders, textures, fonts, etc.) | |
Variables | |
EASY3D_UTIL_EXPORT const std::vector< vec3 > | bunny_vertices |
EASY3D_UTIL_EXPORT const std::vector< unsigned int > | bunny_indices |
Resources used in Easy3D.
void initialize | ( | const std::string & | resource_dir = Easy3D_RESOURCE_DIR | ) |
Initializes the resource directory (that contains color maps, shaders, textures, fonts, etc.).
Easy3D_RESOURCE_DIR
is the default value, which is the directory coming with the Easy3D distribution. In most cases you should use the default resource directory (unless you want to use different resources).
|
extern |
The triangle faces of a bunny model. Each consecutive 3 values denote the vertex indices of a triangle.
|
extern |
The vertices of a bunny model.