5#include <unordered_map> 
   10#include "math/vector_2.h" 
   11#include "math/vector_3.h" 
   12#include "tiny_obj_loader.h" 
   21  bool operator==(
const Vertex& other)
 const {
 
   22    return (other.pos == pos && other.nor == nor && other.uv == uv);
 
   32  static std::optional<Obj> loadObj(
const std::string& dir,
 
   33                                     const std::string& name);
 
   40  tinyobj::attrib_t attrib_;
 
   41  std::vector<tinyobj::shape_t> shapes_;
 
   42  std::vector<tinyobj::material_t> materials_;
 
   44  std::vector<Vertex> vertex_map_;
 
Stores and offers access to all meshes, textures, and sounds of the engine.
Definition: resource_manager.hpp:27
represents mathematical vector with 2 components
Definition: vector_2.h:7
represents mathematical vector with 3 components
Definition: vector_3.h:12