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

Method GetRayExplosionSourcePos

ogsr_engine/xrGame/Explosive.cpp:655–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

653 }
654}
655void CExplosive::GetRayExplosionSourcePos(Fvector& pos)
656{
657 pos.set(m_vExplodeSize);
658 pos.mul(0.5f);
659 pos.random_point(pos);
660 pos.add(m_vExplodePos);
661}
662void CExplosive::ExplodeWaveProcessObject(collide::rq_results& storage, CPhysicsShellHolder* l_pGO)
663{
664 Fvector l_goPos;

Callers 1

GetRaySourcePosMethod · 0.45

Calls 4

random_pointMethod · 0.80
setMethod · 0.45
mulMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected