mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
Remove BAM_FACTOR from FAngle, because it takes up physical space in the struct
This commit is contained in:
parent
565bab8bd3
commit
b8e3e1f095
1 changed files with 2 additions and 5 deletions
|
@ -781,16 +781,13 @@ Outside comments: A faster version with only 10 (not 24) multiplies.
|
|||
}
|
||||
};
|
||||
|
||||
#define BAM_FACTOR (90. / 0x40000000)
|
||||
|
||||
template<class vec_t>
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue