2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-05 21:35:41 +00:00

IRenderer: Convert typedef to using alias

Same behavior, but nicer to read.
This commit is contained in:
Lioncash 2020-03-30 00:18:35 -04:00
parent 0d3bab4c14
commit 111f0c3d3a

View File

@ -27,7 +27,7 @@ struct SShader;
class IRenderer {
public:
typedef void (*TDrawableCallback)(const void*, const void*, int);
using TDrawableCallback = void (*)(const void*, const void*, int);
using TReflectionCallback = std::function<void(void*, const zeus::CVector3f&)>;
enum class EDrawableSorting { SortedCallback, UnsortedCallback };