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

@@ -101,12 +101,12 @@ namespace Nz
T x, y, z, w;
};
typedef Vector4<double> Vector4d;
typedef Vector4<float> Vector4f;
typedef Vector4<int> Vector4i;
typedef Vector4<unsigned int> Vector4ui;
typedef Vector4<Int32> Vector4i32;
typedef Vector4<UInt32> Vector4ui32;
using Vector4d = Vector4<double>;
using Vector4f = Vector4<float>;
using Vector4i = Vector4<int>;
using Vector4ui = Vector4<unsigned int>;
using Vector4i32 = Vector4<Int32>;
using Vector4ui32 = Vector4<UInt32>;
template<typename T> bool Serialize(SerializationContext& context, const Vector4<T>& vector, TypeTag<Vector4<T>>);
template<typename T> bool Unserialize(SerializationContext& context, Vector4<T>* vector, TypeTag<Vector4<T>>);