-reordered sector_t so that the internal declarations are at the top, followed by the member variables and the methods.
Also tried to sort them by renderer use but that turned out to be without any performance effect, even though the struct is a bit better aligned now and several bytes shorter.
This commit is contained in:
parent
a0ad4ea193
commit
639fb43682
2 changed files with 152 additions and 152 deletions
|
|
@ -586,8 +586,7 @@ public:
|
|||
};
|
||||
|
||||
// This is only used for exposing the sector's Lines array to ZScript.
|
||||
// This also must be trivial so that sector_t remains trivial.
|
||||
// For other uses TArrayView should be preferred.
|
||||
// Unlike TArrayView, its members are public as needed by the map loader.
|
||||
|
||||
template <class T>
|
||||
class TStaticPointedArray
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue