MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / CopyModel

Method CopyModel

Source/Graphics/models.cpp:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102int Models::CopyModel(int model_id) {
103 int id = AddModel();
104 GetModel(id) = GetModel(model_id);
105 return id;
106}
107
108// Load a model and return its ID
109int Models::loadModel(const std::string& rel_path, char flags, const std::string& store_name) {

Callers 1

LoadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected