mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +00:00
- Eliminate spritetypebase::__interpolatedvec2()
.
This commit is contained in:
parent
19d21555a6
commit
bdf35ac3a9
2 changed files with 0 additions and 10 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue