mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-20 10:32:27 +00:00
- deleted set_int_xvel and set_int_zvel.
This commit is contained in:
parent
bbdb953eda
commit
666f768413
1 changed files with 0 additions and 10 deletions
|
@ -112,22 +112,12 @@ public:
|
|||
return vel.Z * zworldtoint;
|
||||
}
|
||||
|
||||
void set_int_zvel(int v)
|
||||
{
|
||||
vel.Z = v * zinttoworld;
|
||||
}
|
||||
|
||||
// Note: Both Duke and SW use Q12.4 for this, Exhumed doesn't seem to treat horizontal velocity with a fixed factor.
|
||||
int int_xvel() const
|
||||
{
|
||||
return vel.X * worldtoint;
|
||||
}
|
||||
|
||||
void set_int_xvel(int v)
|
||||
{
|
||||
vel.X = v * inttoworld;
|
||||
}
|
||||
|
||||
vec3_t int_vel() const
|
||||
{
|
||||
return vec3_t(FloatToFixed(vel.X), FloatToFixed(vel.Y), FloatToFixed(vel.Z));
|
||||
|
|
Loading…
Reference in a new issue