- Get rid of 2x unnecessary scope change calls on interpolatedvalue() calls.

This commit is contained in:
Mitchell Richters 2022-11-20 21:26:34 +11:00 committed by Christoph Oelckers
parent 4de1b8ad86
commit 7dd5cdb86c

View file

@ -103,12 +103,12 @@ public:
DVector3 interpolatedpos(double const interpfrac) DVector3 interpolatedpos(double const interpfrac)
{ {
return ::interpolatedvalue(opos, spr.pos, interpfrac); return interpolatedvalue(opos, spr.pos, interpfrac);
} }
DAngle interpolatedangle(double const interpfrac) DAngle interpolatedangle(double const interpfrac)
{ {
return ::interpolatedvalue(oang, spr.angle, interpfrac); return interpolatedvalue(oang, spr.angle, interpfrac);
} }
void backupz() void backupz()