Core/Serialization: Add type tag parameters
This commit is contained in:
@@ -77,8 +77,8 @@ namespace Nz
|
||||
typedef Ray<double> Rayd;
|
||||
typedef Ray<float> Rayf;
|
||||
|
||||
template<typename T> bool Serialize(SerializationContext& context, const Ray<T>& ray);
|
||||
template<typename T> bool Unserialize(SerializationContext& context, Ray<T>* ray);
|
||||
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>>);
|
||||
}
|
||||
|
||||
template<typename T> std::ostream& operator<<(std::ostream& out, const Nz::Ray<T>& vec);
|
||||
|
||||
Reference in New Issue
Block a user