Tatooine
Namespaces | Functions
render_line.h File Reference

Go to the source code of this file.

Namespaces

namespace  tatooine
 
namespace  tatooine::rendering
 

Functions

template<typename Real >
auto tatooine::rendering::render (Vec2< Real > p0, Vec2< Real > p1, int const line_width, UniformRectilinearGrid2< Real > const &grid, invocable< Real, std::size_t, std::size_t > auto &&callback)
 
template<typename Real , invocable< Real, std::size_t, std::size_t > Callback>
auto tatooine::rendering::render (Vec2< Real > const &p0, Vec2< Real > const &p1, UniformRectilinearGrid2< Real > const &grid, Callback &&callback)
 
template<typename Real , invocable< Real, std::size_t, std::size_t > Callback>
auto tatooine::rendering::render (Vec4< Real > p0, Vec4< Real > p1, int const line_width, UniformRectilinearGrid2< Real > const &grid, camera auto const &cam, Callback &&callback)