feat: make mesh objects shareable
This commit is contained in:
@ -5,7 +5,7 @@
|
|||||||
#include "renderer/wavefront.h"
|
#include "renderer/wavefront.h"
|
||||||
|
|
||||||
struct mesh {
|
struct mesh {
|
||||||
std::unique_ptr<Object> object;
|
std::shared_ptr<Object> object;
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // COMPONENTS_MESH_H_
|
#endif // COMPONENTS_MESH_H_
|
Reference in New Issue
Block a user