Preparing for Writeup
This commit is contained in:
@@ -124,6 +124,11 @@ void AssetRegistry::registerMesh(PMeshAsset mesh)
|
||||
}
|
||||
}
|
||||
|
||||
void AssetRegistry::registerTexture(PTextureAsset texture)
|
||||
{
|
||||
textures[texture->getFileName()] = texture;
|
||||
}
|
||||
|
||||
void AssetRegistry::registerMaterial(PMaterialAsset material)
|
||||
{
|
||||
materials[material->getFileName()] = material;
|
||||
|
||||
Reference in New Issue
Block a user