reorganizing mesh data
This commit is contained in:
+1
-2
@@ -21,10 +21,9 @@ class Model
|
||||
public:
|
||||
AABB boundingBox;
|
||||
std::vector<glm::vec3> positions;
|
||||
std::vector<uint32_t> indices;
|
||||
std::vector<glm::uvec3> indices;
|
||||
std::vector<glm::vec3> edges;
|
||||
std::vector<glm::vec3> faceNormals;
|
||||
void transform(glm::mat4 matrix);
|
||||
std::optional<IntersectionInfo> intersect(Ray ray) const;
|
||||
};
|
||||
DECLARE_REF(Model)
|
||||
Reference in New Issue
Block a user