27#ifndef EASY3D_UTIL_RESOURCE_H
28#define EASY3D_UTIL_RESOURCE_H
30#include <easy3d/core/types.h>
31#include <easy3d/util/export.h>
45 void initialize(
const std::string& resource_dir = Easy3D_RESOURCE_DIR);
56 extern const EASY3D_UTIL_EXPORT std::vector<unsigned int>
bunny_indices;
void initialize(const std::string &res_dir)
Initializes the resource directory (that contains color maps, shaders, textures, fonts,...
Definition: resource.cpp:40
const std::vector< vec3 > bunny_vertices
Definition: resource.cpp:84
const std::vector< unsigned int > bunny_indices
Definition: resource.cpp:541
std::string directory()
Returns the resource directory (containing color maps, shaders, textures, fonts, etc....
Definition: resource.cpp:45
Definition: collider.cpp:182