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

Method GetLeaderNormal

ogsr_engine/xrGame/ElevatorState.cpp:336–345  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334 SwitchState(clbDepart);
335}
336void CElevatorState::GetLeaderNormal(Fvector& dir)
337{
338 if (!m_ladder)
339 return;
340 VERIFY(m_ladder && m_character);
341 m_ladder->DDNorm(dir);
342 // Fvector d;
343 // m_ladder->DToAxis(m_character,d);
344 // if(dir.dotproduct(d)>0.f) dir.invert();
345}
346
347void CElevatorState::GetJumpDir(const Fvector& accel, Fvector& dir)
348{

Callers 1

GroundNormalMethod · 0.80

Calls 1

DDNormMethod · 0.80

Tested by

no test coverage detected