mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Offset bvh in the parsing
This commit is contained in:
@ -20,8 +20,9 @@ class ObjParser
|
||||
public:
|
||||
ObjParser(std::string &filename);
|
||||
~ObjParser();
|
||||
void parse(Scene &scene);
|
||||
|
||||
void parse(Scene &scene, glm::vec3 offset);
|
||||
|
||||
private:
|
||||
glm::vec3 getVertex(std::stringstream &line);
|
||||
glm::vec2 getUV(std::stringstream &line);
|
||||
|
Reference in New Issue
Block a user