mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- Optimise spritetypebase::backupvec2()
and remove now-unused backupx/y() methods.
This commit is contained in:
parent
e970ed0f27
commit
01ed871239
1 changed files with 1 additions and 12 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue