Core/Serialization: Add type tag parameters
This commit is contained in:
@@ -141,8 +141,8 @@ namespace Nz
|
||||
typedef Matrix4<double> Matrix4d;
|
||||
typedef Matrix4<float> Matrix4f;
|
||||
|
||||
template<typename T> bool Serialize(SerializationContext& context, const Matrix4<T>& matrix);
|
||||
template<typename T> bool Unserialize(SerializationContext& context, Matrix4<T>* matrix);
|
||||
template<typename T> bool Serialize(SerializationContext& context, const Matrix4<T>& matrix, TypeTag<Matrix4<T>>);
|
||||
template<typename T> bool Unserialize(SerializationContext& context, Matrix4<T>* matrix, TypeTag<Matrix4<T>>);
|
||||
}
|
||||
|
||||
template<typename T> std::ostream& operator<<(std::ostream& out, const Nz::Matrix4<T>& matrix);
|
||||
|
||||
Reference in New Issue
Block a user