MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / SkyBox

Method SkyBox

Engine/source/environment/skyBox.cpp:54–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52);
53
54SkyBox::SkyBox()
55{
56 mTypeMask |= EnvironmentObjectType | StaticObjectType;
57 mNetFlags.set(Ghostable | ScopeAlways);
58
59 INIT_ASSET(Material);
60 mMatInstance = NULL;
61
62 mIsVBDirty = false;
63 mDrawBottom = true;
64 mPrimCount = 0;
65 mFogBandHeight = 0;
66
67 mMatrixSet = reinterpret_cast<MatrixSet *>(dMalloc_aligned(sizeof(MatrixSet), 16));
68 constructInPlace(mMatrixSet);
69
70 mFogBandMat = NULL;
71 mFogBandMatInst = NULL;
72}
73
74SkyBox::~SkyBox()
75{

Callers

nothing calls this directly

Calls 3

constructInPlaceFunction · 0.85
dMalloc_alignedFunction · 0.50
setMethod · 0.45

Tested by

no test coverage detected