mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-08-09 13:39:09 +00:00
IRenderer: Convert typedef to using alias
Same behavior, but nicer to read.
This commit is contained in:
parent
0d3bab4c14
commit
111f0c3d3a
@ -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 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user