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

Method SkySphere

Engine/source/environment/skySphere.cpp:53–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

constructInPlaceFunction · 0.85
dMalloc_alignedFunction · 0.50
setMethod · 0.45

Tested by

no test coverage detected