Converted first thing to shared pointers.

This commit is contained in:
2023-11-02 20:35:11 -05:00
parent 7543d13e0e
commit b1088eeab7
17 changed files with 37 additions and 67 deletions

View File

@ -19,8 +19,8 @@ namespace Dawn {
public:
SimpleTexturedMaterial *material;
static std::vector<Asset*> prefabAssets(AssetManager *man) {
return std::vector<Asset*>();
static std::vector<std::shared_ptr<Asset>> prefabAssets(AssetManager *man) {
return std::vector<std::shared_ptr<Asset>>();
}
SimpleSpinningCubePrefab(Scene *s, sceneitemid_t i) :