mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 14:55:39 +00:00
code duplication prune. should aid in stability
This commit is contained in:
parent
10f2453cee
commit
98a079a797
123 changed files with 632 additions and 966 deletions
|
|
@ -44,10 +44,10 @@ CubemapData::CubemapData()
|
|||
|
||||
for (U32 i = 0; i < 6; i++)
|
||||
{
|
||||
INIT_IMAGEASSET_ARRAY(CubeMapFace, i);
|
||||
INIT_ASSET_ARRAY(CubeMapFace, i);
|
||||
}
|
||||
|
||||
INIT_IMAGEASSET(CubeMap);
|
||||
INIT_ASSET(CubeMap);
|
||||
}
|
||||
|
||||
CubemapData::~CubemapData()
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ public:
|
|||
|
||||
protected:
|
||||
DECLARE_IMAGEASSET(CubemapData, CubeMap, onCubemapChanged, GFXStaticTextureSRGBProfile);
|
||||
DECLARE_IMAGEASSET_SETGET(CubemapData, CubeMap);
|
||||
DECLARE_ASSET_SETGET(CubemapData, CubeMap);
|
||||
|
||||
DECLARE_IMAGEASSET_ARRAY(CubemapData, CubeMapFace, GFXStaticTextureSRGBProfile, 6);
|
||||
DECLARE_IMAGEASSET_ARRAY_SETGET(CubemapData, CubeMapFace);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue