Skip to content

Commit

Permalink
ISSUE #391 adding required intermediary variables for loading in text…
Browse files Browse the repository at this point in the history
…ures
  • Loading branch information
haroon-haider committed Nov 12, 2020
1 parent 45835ba commit e88e232
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,13 @@ namespace repo {
char *dataBuffer;

// Intermediary variables used to keep track of node hierarchy
std::vector<repo::core::model::RepoNode *> node_map; //!< List of all transform nodes in order of decoding
std::vector<repo::lib::RepoMatrix> trans_matrix_map; //!< List of all transformation matrices in same order as node_map
std::vector<repo::core::model::RepoNode *> node_map; //!< List of all transform nodes in order of decoding
std::vector<repo::lib::RepoMatrix> trans_matrix_map; //!< List of all transformation matrices in same order as node_map
std::vector<repo::core::model::MaterialNode *> matNodeList; //!< Stores a list of materials
std::vector<std::vector<repo::lib::RepoUUID>> matParents; //!< Stores the UUIDs of all parents of a given material node in the same order matNodeList
std::vector<repo::core::model::MaterialNode *> textureNodeList; //!< Stores a list of textures
std::vector<std::vector<repo::lib::RepoUUID>> textureParents; //!< Stores the UUIDs of all parents of a given texture node the same order as textureNodelList
std::vector<mesh_data_t> meshEntries;
std::vector<repo::core::model::MaterialNode *> matNodeList; //!< Stores a list of materials
std::vector<std::vector<repo::lib::RepoUUID>> matParents; //!< Stores all the parents materials in the same order matNodeList

// Variables directly used to instantiate the RepoScene
repo::core::model::RepoNodeSet cameras;
Expand Down

0 comments on commit e88e232

Please sign in to comment.