|
|
@@ -57,10 +57,8 @@ struct UnitCamera
|
|
|
uint32_t name;
|
|
|
};
|
|
|
|
|
|
-class UnitResource
|
|
|
+struct UnitResource
|
|
|
{
|
|
|
-public:
|
|
|
-
|
|
|
//-----------------------------------------------------------------------------
|
|
|
static void* load(Allocator& allocator, Bundle& bundle, ResourceId id)
|
|
|
{
|
|
|
@@ -92,8 +90,6 @@ public:
|
|
|
{
|
|
|
}
|
|
|
|
|
|
-public:
|
|
|
-
|
|
|
//-----------------------------------------------------------------------------
|
|
|
uint32_t num_renderables() const
|
|
|
{
|