- Eliminate spritetypebase::__interpolatedvec2().

This commit is contained in:
Mitchell Richters 2022-08-29 18:52:13 +10:00 committed by Christoph Oelckers
parent 19d21555a6
commit bdf35ac3a9
2 changed files with 0 additions and 10 deletions

View file

@ -180,15 +180,6 @@ public:
return interpolatedz(smoothratio, scale) * zworldtoint;
}
vec2_t __interpolatedvec2(double const smoothratio, int const scale = 16)
{
return
{
(int)(interpolatedx(smoothratio, scale) * worldtoint),
(int)(interpolatedy(smoothratio, scale) * worldtoint)
};
}
DAngle interpolatedang(double const smoothratio)
{
return interpolatedangle(oang, spr.angle, smoothratio, 16);

View file

@ -551,7 +551,6 @@ bool GameInterface::DrawAutomapPlayer(int mx, int my, int cposx, int cposy, int
for (p = connecthead; p >= 0; p = connectpoint2[p])
{
auto act = ps[p].GetActor();
auto spos = act->__interpolatedvec2(smoothratio);
ox = mx - cposx;
oy = my - cposy;