mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
- Change DCoreActor::oang
to a DRotator named PrevAngles
.
This commit is contained in:
parent
2e0b9490e1
commit
901000bee5
1 changed files with 3 additions and 3 deletions
|
@ -42,7 +42,7 @@ public:
|
|||
spritesmooth_t spsmooth;
|
||||
|
||||
DVector3 opos;
|
||||
DAngle oang;
|
||||
DRotator PrevAngles;
|
||||
DVector3 vel;
|
||||
double oviewzoffset, viewzoffset;
|
||||
double clipdist;
|
||||
|
@ -98,7 +98,7 @@ public:
|
|||
|
||||
DAngle interpolatedangle(double const interpfrac)
|
||||
{
|
||||
return interpolatedvalue(oang, spr.Angles.Yaw, interpfrac);
|
||||
return interpolatedvalue(PrevAngles.Yaw, spr.Angles.Yaw, interpfrac);
|
||||
}
|
||||
|
||||
void backupz()
|
||||
|
@ -120,7 +120,7 @@ public:
|
|||
|
||||
void backupang()
|
||||
{
|
||||
oang = spr.Angles.Yaw;
|
||||
PrevAngles.Yaw = spr.Angles.Yaw;
|
||||
}
|
||||
|
||||
void backuploc()
|
||||
|
|
Loading…
Reference in a new issue