MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / setStaticForm

Method setStaticForm

ogsr_engine/xrGame/PHGeometryOwner.cpp:375–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375void CPHGeometryOwner::setStaticForm(const Fmatrix& form)
376{
377 if (!b_builded)
378 return;
379 Fmatrix f;
380 f.set(form);
381 get_mc_vs_transform(f.c, form);
382 GEOM_I i = m_geoms.begin(), e = m_geoms.end();
383 for (; i != e; ++i)
384 (*i)->set_static_ref_form(f);
385}
386
387void CPHGeometryOwner::setPosition(const Fvector& pos)
388{

Callers

nothing calls this directly

Calls 4

set_static_ref_formMethod · 0.80
setMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected