Basic light culling but without the culling
This commit is contained in:
@@ -35,7 +35,7 @@ void AssetRegistry::importFile(const std::string &filePath)
|
||||
{
|
||||
get().importTexture(fsPath);
|
||||
}
|
||||
if (extension.compare(".semat") == 0)
|
||||
if (extension.compare(".asset") == 0)
|
||||
{
|
||||
get().importMaterial(fsPath);
|
||||
}
|
||||
|
||||
@@ -16,9 +16,10 @@ public:
|
||||
virtual void load() override;
|
||||
void addMesh(PMesh mesh);
|
||||
const Array<PMesh> getMeshes();
|
||||
//Workaround while no editor
|
||||
Array<PMaterialAsset> referencedMaterials;
|
||||
private:
|
||||
Array<PMesh> meshes;
|
||||
Array<PMaterialAsset> referencedMaterials;
|
||||
};
|
||||
DEFINE_REF(MeshAsset)
|
||||
} // namespace Seele
|
||||
Reference in New Issue
Block a user