Remove USE_QUAD_VECTORS unused check
This commit is contained in:
parent
a95a1f47a4
commit
449571b6cd
2 changed files with 0 additions and 17 deletions
|
@ -44,18 +44,6 @@ struct Vector3 {
|
|||
};
|
||||
|
||||
union {
|
||||
|
||||
#ifdef USE_QUAD_VECTORS
|
||||
|
||||
struct {
|
||||
real_t x;
|
||||
real_t y;
|
||||
real_t z;
|
||||
real_t _unused;
|
||||
};
|
||||
real_t coord[4];
|
||||
#else
|
||||
|
||||
struct {
|
||||
real_t x;
|
||||
real_t y;
|
||||
|
@ -63,7 +51,6 @@ struct Vector3 {
|
|||
};
|
||||
|
||||
real_t coord[3];
|
||||
#endif
|
||||
};
|
||||
|
||||
_FORCE_INLINE_ const real_t& operator[](int p_axis) const {
|
||||
|
|
|
@ -151,11 +151,7 @@ private:
|
|||
InputEvent *_input_event;
|
||||
Image *_image;
|
||||
void *_ptr; //generic pointer
|
||||
#ifdef USE_QUAD_VECTORS
|
||||
uint8_t _mem[sizeof(ObjData) > (sizeof(real_t)*5) ? sizeof(ObjData) : (sizeof(real_t)*5)]; // plane uses an extra real
|
||||
#else
|
||||
uint8_t _mem[sizeof(ObjData) > (sizeof(real_t)*4) ? sizeof(ObjData) : (sizeof(real_t)*4)];
|
||||
#endif
|
||||
} _data;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue