Core/TypeTag: Add Type helper typedef
This commit is contained in:
parent
6c733ec197
commit
724972e889
|
|
@ -191,6 +191,7 @@ Nazara Engine:
|
||||||
- Added PhysWorld2D::[RaycastQuery, RegionQuery] overloads taking a callback
|
- Added PhysWorld2D::[RaycastQuery, RegionQuery] overloads taking a callback
|
||||||
- Added x and y mouse position to MouseWheelEvent
|
- Added x and y mouse position to MouseWheelEvent
|
||||||
- Added SimpleTextDrawer::[Get|Set]MaxLineWidth (which does line wrap)
|
- Added SimpleTextDrawer::[Get|Set]MaxLineWidth (which does line wrap)
|
||||||
|
- TypeTag helper struct now includes a Type using
|
||||||
|
|
||||||
Nazara Development Kit:
|
Nazara Development Kit:
|
||||||
- Added ImageWidget (#139)
|
- Added ImageWidget (#139)
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,10 @@
|
||||||
namespace Nz
|
namespace Nz
|
||||||
{
|
{
|
||||||
template<typename T>
|
template<typename T>
|
||||||
struct TypeTag {};
|
struct TypeTag
|
||||||
|
{
|
||||||
|
using Type = T;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // NAZARA_TYPETAG_HPP
|
#endif // NAZARA_TYPETAG_HPP
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue