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

Method remove

Engine/source/T3D/cameraSpline.cpp:114–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114CameraSpline::Knot* CameraSpline::remove(Knot *w)
115{
116 if (w->next == mFront && w->prev == mFront)
117 mFront = NULL;
118 else
119 {
120 w->prev->next = w->next;
121 w->next->prev = w->prev;
122 if (mFront == w)
123 mFront = w->next;
124 }
125 --mSize;
126 mIsMapDirty = true;
127 return w;
128}
129
130
131void CameraSpline::removeAll()

Callers 15

~LevelInfoMethod · 0.45
onRemoveMethod · 0.45
removeObjectMethod · 0.45
gameFunctions.cppFile · 0.45
pushBackMethod · 0.45
pushFrontMethod · 0.45
popFrontMethod · 0.45
onRemoveMethod · 0.45
removeObjectMethod · 0.45
removeDynamicObjectMethod · 0.45
pushBackMethod · 0.45
pushFrontMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected