MCPcopy Create free account
hub / github.com/ddnet/ddnet / IntersectCharacter

Method IntersectCharacter

src/game/server/gameworld.cpp:293–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293CCharacter *CGameWorld::IntersectCharacter(vec2 Pos0, vec2 Pos1, float Radius, vec2 &NewPos, const CCharacter *pNotThis, int CollideWith, const CCharacter *pThisOnly)
294{
295 return (CCharacter *)IntersectEntity(Pos0, Pos1, Radius, ENTTYPE_CHARACTER, NewPos, pNotThis, CollideWith, pThisOnly);
296}
297
298CEntity *CGameWorld::IntersectEntity(vec2 Pos0, vec2 Pos1, float Radius, int Type, vec2 &NewPos, const CEntity *pNotThis, int CollideWith, const CEntity *pThisOnly)
299{

Callers 4

HitCharacterMethod · 0.45
TickMethod · 0.45
HitCharacterMethod · 0.45
DoBounceMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected