- Optimise spritetypebase::backupvec2() and remove now-unused backupx/y() methods.

This commit is contained in:
Mitchell Richters 2022-08-29 19:47:05 +10:00 committed by Christoph Oelckers
parent e970ed0f27
commit 01ed871239

View file

@ -171,16 +171,6 @@ public:
return ::interpolatedangle(oang, spr.angle, smoothratio);
}
void backupx()
{
opos.X = spr.pos.X;
}
void backupy()
{
opos.Y = spr.pos.Y;
}
void backupz()
{
opos.Z = spr.pos.Z;
@ -188,8 +178,7 @@ public:
void backupvec2()
{
backupx();
backupy();
opos.XY() = spr.pos.XY();
}
void backuppos()