MCPcopy Create free account
hub / github.com/defold/defold / DestroyNodeAnimation

Function DestroyNodeAnimation

engine/modelc/src/modelimporter.cpp:140–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140static void DestroyNodeAnimation(NodeAnimation* node_animation)
141{
142 node_animation->m_TranslationKeys.SetCapacity(0);
143 node_animation->m_RotationKeys.SetCapacity(0);
144 node_animation->m_ScaleKeys.SetCapacity(0);
145 node_animation->m_MorphWeightKeyTimes.SetCapacity(0);
146 node_animation->m_MorphWeightKeyValues.SetCapacity(0);
147 node_animation->m_MorphWeightDimensions = 0;
148}
149
150static void DestroyAnimation(Animation* animation)
151{

Callers 1

DestroyAnimationFunction · 0.85

Calls 1

SetCapacityMethod · 0.45

Tested by

no test coverage detected