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

Method remove

Engine/source/T3D/cameraSpline.cpp:110–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

~LevelInfoMethod · 0.45
onRemoveMethod · 0.45
removeObjectMethod · 0.45
onRemoveMethod · 0.45
gameFunctions.cppFile · 0.45
pushBackMethod · 0.45
pushFrontMethod · 0.45
popFrontMethod · 0.45
removeComponentMethod · 0.45
clearComponentsMethod · 0.45
onComponentRemoveMethod · 0.45
setOwnerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected