mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 08:27:42 +00:00
IRenderer: Convert typedef to using alias
Same behavior, but nicer to read.
This commit is contained in:
@@ -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 };
|
||||||
|
|||||||
Reference in New Issue
Block a user