MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / SlewStop

Function SlewStop

Descent3/SLEW.cpp:245–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243#endif
244
245int SlewStop(object *obj) {
246 if (!obj)
247 return 0;
248
249 vm_MakeZero(&obj->mtype.phys_info.velocity);
250
251 return 1;
252}
253
254// Resets object's orientation
255void SlewResetOrient(object *obj) {

Callers 6

OnIdleMethod · 0.85
OnKeyDownMethod · 0.85
GameToEditorFunction · 0.85
EditorToGameFunction · 0.85
ProcessTestKeysFunction · 0.85
InitGameFunction · 0.85

Calls 1

vm_MakeZeroFunction · 0.85

Tested by

no test coverage detected