mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +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;
|
spritesmooth_t spsmooth;
|
||||||
|
|
||||||
DVector3 opos;
|
DVector3 opos;
|
||||||
DAngle oang;
|
DRotator PrevAngles;
|
||||||
DVector3 vel;
|
DVector3 vel;
|
||||||
double oviewzoffset, viewzoffset;
|
double oviewzoffset, viewzoffset;
|
||||||
double clipdist;
|
double clipdist;
|
||||||
|
@ -98,7 +98,7 @@ public:
|
||||||
|
|
||||||
DAngle interpolatedangle(double const interpfrac)
|
DAngle interpolatedangle(double const interpfrac)
|
||||||
{
|
{
|
||||||
return interpolatedvalue(oang, spr.Angles.Yaw, interpfrac);
|
return interpolatedvalue(PrevAngles.Yaw, spr.Angles.Yaw, interpfrac);
|
||||||
}
|
}
|
||||||
|
|
||||||
void backupz()
|
void backupz()
|
||||||
|
@ -120,7 +120,7 @@ public:
|
||||||
|
|
||||||
void backupang()
|
void backupang()
|
||||||
{
|
{
|
||||||
oang = spr.Angles.Yaw;
|
PrevAngles.Yaw = spr.Angles.Yaw;
|
||||||
}
|
}
|
||||||
|
|
||||||
void backuploc()
|
void backuploc()
|
||||||
|
|
Loading…
Reference in a new issue