Lines Matching defs:Mesh
6 struct Mesh { struct
7 size_t num_vertices;
8 unsigned num_faces;
9 std::vector<T> vertices;
10 std::vector<T> facevarying_normals;
11 std::vector<unsigned int> faces;
12 std::vector<T> facevarying_uvs;
13 std::string name;
14 void lerp(T dst[3], const T v0[3], const T v1[3], const T v2[3], float u, in lerp()
21 bool has_uvs() const { return facevarying_uvs.size() > 0; } in has_uvs()
22 glm::vec2 getTextureCoord(unsigned int face, T u, T v) { in getTextureCoord()