Replace typedef keywords by using

This commit is contained in:
Lynix
2018-03-20 20:59:04 +01:00
parent 69f079fcc8
commit ad82de2962
24 changed files with 72 additions and 71 deletions

View File

@@ -68,8 +68,8 @@ namespace Nz
Vector3<T> m_corners[BoxCorner_Max+1]; // Ne peuvent pas être modifiés directement
};
typedef OrientedBox<double> OrientedBoxd;
typedef OrientedBox<float> OrientedBoxf;
using OrientedBoxd = OrientedBox<double>;
using OrientedBoxf = OrientedBox<float>;
template<typename T> bool Serialize(SerializationContext& context, const OrientedBox<T>& obb, TypeTag<OrientedBox<T>>);
template<typename T> bool Unserialize(SerializationContext& context, OrientedBox<T>* obb, TypeTag<OrientedBox<T>>);