Files
TDT4230_final_project/src/utilities/mesh.h
T

16 lines
348 B
C++

#pragma once
#include <vector>
#include <glm/glm.hpp>
struct Mesh {
std::vector<glm::vec3> vertices;
std::vector<glm::vec3> normals;
std::vector<glm::vec2> textureCoordinates;
std::vector<glm::vec4> colors;
std::vector<unsigned int> indices;
bool has_transparancy = false; // if any of the colors are transparent
};