libcruft-util/geom/iostream.hpp

42 lines
1021 B
C++
Raw Normal View History

2015-02-19 13:28:36 +11:00
/*
2018-08-04 15:14:06 +10:00
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
2015-02-19 13:28:36 +11:00
*
* Copyright 2015-2019 Danny Robson <danny@nerdcruft.net>
2015-02-19 13:28:36 +11:00
*/
#pragma once
2015-02-19 13:28:36 +11:00
#include "fwd.hpp"
2015-02-19 13:28:36 +11:00
2018-03-22 16:10:06 +11:00
#include <iosfwd>
2015-02-19 13:28:36 +11:00
2017-01-05 15:06:49 +11:00
///////////////////////////////////////////////////////////////////////////////
namespace cruft::geom {
template <size_t S, typename T>
std::ostream&
2017-08-24 16:43:54 +10:00
operator<< (std::ostream&, aabb<S,T>);
template <size_t S, typename T>
std::ostream&
operator<< (std::ostream&, segment<S,T> const&);
template <size_t S, typename T>
std::ostream&
operator<< (std::ostream&, ray<S,T>);
template <size_t S, typename T>
std::ostream&
operator<< (std::ostream&, sphere<S,T>);
2018-03-13 22:37:40 +11:00
template <size_t S, typename T>
std::ostream&
operator<< (std::ostream&, plane<S,T>);
template <typename T>
std::ostream&
operator<< (std::ostream&, frustum<T>);
2017-01-05 15:06:49 +11:00
}