mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | O3 faster bvh build and display informations
This commit is contained in:
@ -25,11 +25,11 @@ class ObjParser
|
||||
private:
|
||||
glm::vec3 getVertex(std::stringstream &line);
|
||||
glm::vec2 getUV(std::stringstream &line);
|
||||
void addFace(std::stringstream &line, Scene &scene);
|
||||
void addFace(std::stringstream &line);
|
||||
long int checkVertexIndex(int index, size_t size);
|
||||
void parseMtl(std::stringstream &line, Scene &scene);
|
||||
bool addTriangleFromPolygon(std::vector<glm::vec3> &vertices, Scene &scene, int inv);
|
||||
void addTriangle(glm::vec3 v1, glm::vec3 v2, glm::vec3 v3, Scene &scene);
|
||||
bool addTriangleFromPolygon(std::vector<glm::vec3> &vertices, int inv);
|
||||
void addTriangle(glm::vec3 v1, glm::vec3 v2, glm::vec3 v3);
|
||||
int pointInTriangle(glm::vec3 pts[3], std::vector<glm::vec3> vertices, size_t cur);
|
||||
std::vector<std::string> objSplit(std::string str, std::string delim);
|
||||
void getFaceVertices(std::vector<glm::vec3> &faceVertices, std::stringstream &line);
|
||||
|
Reference in New Issue
Block a user