diff --git a/src/vectors.h b/src/vectors.h index 91cf1e962..8b81d05b2 100644 --- a/src/vectors.h +++ b/src/vectors.h @@ -781,16 +781,13 @@ Outside comments: A faster version with only 10 (not 24) multiplies. } }; +#define BAM_FACTOR (90. / 0x40000000) + template struct TAngle { vec_t Degrees; -private: - const double BAM_FACTOR = (90. / 0x40000000); -public: - - // This is to catch any accidental attempt to assign an angle_t to this type. Any explicit exception will require a type cast. TAngle(int) = delete; TAngle(unsigned int) = delete;