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

Function StartPolyModelPosInstance

model/polymodel.cpp:2240–2246  ·  view source on GitHub ↗

Sets a positional instance

Source from the content-addressed store, hash-verified

2238
2239// Sets a positional instance
2240void StartPolyModelPosInstance(vector *posvec) {
2241
2242 Interp_pos_instance_vec = *posvec;
2243
2244 Instance_vec_stack[Instance_vec_cnt] = Interp_pos_instance_vec;
2245 Instance_vec_cnt++;
2246}
2247
2248// Pops a positional instance
2249void DonePolyModelPosInstance() {

Callers 2

RenderSubmodelFunction · 0.85
CollideSubmodelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected