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

@@ -74,8 +74,8 @@ namespace Nz
Vector3<T> direction, origin;
};
typedef Ray<double> Rayd;
typedef Ray<float> Rayf;
using Rayd = Ray<double>;
using Rayf = Ray<float>;
template<typename T> bool Serialize(SerializationContext& context, const Ray<T>& ray, TypeTag<Ray<T>>);
template<typename T> bool Unserialize(SerializationContext& context, Ray<T>* ray, TypeTag<Ray<T>>);