MCPcopy Create free account
hub / github.com/ZDoom/Raze / GetFlatSpritePosition

Function GetFlatSpritePosition

source/core/gamefuncs.cpp:297–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295
296
297void GetFlatSpritePosition(DCoreActor* actor, const DVector2& pos, DVector2* out, double* outz, bool render)
298{
299 TGetFlatSpritePosition(&actor->spr, pos, out, outz, spriteGetSlope(actor), render);
300}
301
302void GetFlatSpritePosition(const tspritetype* spr, const DVector2& pos, DVector2* out, double* outz, bool render)
303{

Callers 6

getzrangepointFunction · 0.85
renderDrawMapViewFunction · 0.85
intersectFloorSpriteFunction · 0.85
intersectSlopeSpriteFunction · 0.85
checkRangeOfFloorSpriteFunction · 0.85
MakeVerticesMethod · 0.85

Calls 3

TGetFlatSpritePositionFunction · 0.85
spriteGetSlopeFunction · 0.85
tspriteGetSlopeFunction · 0.85

Tested by

no test coverage detected