infinipaint/src/SharedTypes.hpp

19 lines
465 B
C++
Raw Normal View History

2025-07-06 20:43:53 +03:00
#pragma once
#include <Eigen/Dense>
#include <Eigen/Geometry>
#include <cereal/types/utility.hpp>
#include <Helpers/Hashes.hpp>
#include <boost/multiprecision/cpp_int.hpp>
#include <Helpers/FixedPoint.hpp>
using namespace Eigen;
typedef Vector<WorldScalar, 2> WorldVec;
typedef uint64_t NetClientID;
2025-07-06 20:43:53 +03:00
template <typename F, typename S> std::ostream& operator<<(std::ostream& os, const std::pair<F, S>& p) {
os << p.first << ", " << p.second;
return os;
}