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
1 changed files with 1 additions and 1 deletions

View File

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