- set_int_hitpos is not used anymore

This commit is contained in:
Christoph Oelckers 2022-09-05 00:00:08 +02:00
parent 3647eb6b09
commit dfabdff553
2 changed files with 0 additions and 11 deletions

View file

@ -310,12 +310,6 @@ struct HitInfoBase
{ {
return { int(hitpos.X * worldtoint), int(hitpos.Y * worldtoint), int(hitpos.Z * zworldtoint), }; return { int(hitpos.X * worldtoint), int(hitpos.Y * worldtoint), int(hitpos.Z * zworldtoint), };
} }
void set_int_hitpos_xy(int x, int y)
{
hitpos.X = x * inttoworld;
hitpos.Y = y * inttoworld;
}
}; };
template<class T> template<class T>

View file

@ -1430,11 +1430,6 @@ extern TRACK Track[MAX_TRACKS];
struct SECTOR_OBJECT struct SECTOR_OBJECT
{ {
vec3_t int_pmid() const
{
return { int(pmid.X * worldtoint), int(pmid.Y * worldtoint),int(pmid.Z * zworldtoint) };
}
soANIMATORp PreMoveAnimator; soANIMATORp PreMoveAnimator;
soANIMATORp PostMoveAnimator; soANIMATORp PostMoveAnimator;
soANIMATORp Animator; soANIMATORp Animator;