mirror of https://github.com/AxioDL/metaforce.git
CSortedLists: Turn ESortedList into an enum class
Prevents namespace pollution and makes the type more strongly-enforced with regards to implicit conversions
This commit is contained in:
parent
cc236dcaba
commit
f5d486f0ca
|
@ -5,7 +5,7 @@
|
|||
#include "Collision/CMaterialFilter.hpp"
|
||||
|
||||
namespace urde {
|
||||
enum ESortedList { MinX, MinY, MinZ, MaxX, MaxY, MaxZ };
|
||||
enum class ESortedList { MinX, MinY, MinZ, MaxX, MaxY, MaxZ };
|
||||
|
||||
struct SSortedList {
|
||||
s16 x0_ids[1024];
|
||||
|
|
Loading…
Reference in New Issue