- removed the conversion operators from the fixedvec structs (again)

They must have been accidentally left in by not properly resolving a merge conflict, I guess.
This commit is contained in:
Christoph Oelckers 2016-02-10 14:43:04 +01:00
parent d1b2ef5368
commit a7254a4af5

View file

@ -572,31 +572,11 @@ struct FStrifeDialogueNode;
struct fixedvec3 struct fixedvec3
{ {
fixed_t x, y, z; fixed_t x, y, z;
operator FVector3()
{
return FVector3(FIXED2FLOAT(x), FIXED2FLOAT(y), FIXED2FLOAT(z));
}
operator TVector3<double>()
{
return TVector3<double>(FIXED2DBL(x), FIXED2DBL(y), FIXED2DBL(z));
}
}; };
struct fixedvec2 struct fixedvec2
{ {
fixed_t x, y; fixed_t x, y;
operator FVector2()
{
return FVector2(FIXED2FLOAT(x), FIXED2FLOAT(y));
}
operator TVector2<double>()
{
return TVector2<double>(FIXED2DBL(x), FIXED2DBL(y));
}
}; };
class DDropItem : public DObject class DDropItem : public DObject