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

Method remove

Engine/lib/convexDecomp/NvHashMap.h:954–964  ·  view source on GitHub ↗

//////////////////////////////////////////////////////////////////// ! Subtracts the element on position i from the array. Shift the entire array one step. Operation is O(n) \param i The position of the element that will be subtracted from this array. \return The element that was removed. */ ////////////////////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

952 */
953 /////////////////////////////////////////////////////////////////////////
954 NX_INLINE void remove(NxU32 i)
955 {
956 NX_ASSERT(i<mSize);
957 while(i+1<mSize)
958 {
959 mData[i] = mData[i+1];
960 i++;
961 }
962
963 mData[--mSize].~T();
964 }
965
966
967 //////////////////////////////////////////////////////////////////////////

Callers 10

jquery.jsFile · 0.45
iFunction · 0.45
foreachFunction · 0.45
pollInputDevicesMethod · 0.45
pollHapticDevicesMethod · 0.45
destroyCustomCursorMethod · 0.45
RemoveFromMapMethod · 0.45
RemoveLockedNodeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected