#include <cml/mathlib/projection.h>
Go to the source code of this file.
Namespaces | |
namespace | cml |
namespace | cml::detail |
Functions | |
template<class MatT , typename Real > | |
void | cml::detail::depth_range_from_viewport_matrix (const MatT &viewport, Real &n, Real &f) |
template<class MatT_1 , class MatT_2 , typename Real > | |
void | cml::make_pick_drag_volume (Real pick_x1, Real pick_y1, Real pick_x2, Real pick_y2, Real viewport_x, Real viewport_y, Real viewport_width, Real viewport_height, const MatT_1 &view, const MatT_2 &projection, Real planes[6][4], ZClip z_clip, bool normalize=true) |
template<class MatT_1 , class MatT_2 , class MatT_3 , typename E , class A > | |
void | cml::make_pick_ray (E pick_x, E pick_y, const MatT_1 &view, const MatT_2 &projection, const MatT_3 &viewport, vector< E, A > &origin, vector< E, A > &direction, bool normalize=true) |
template<class MatT_1 , class MatT_2 , typename Real > | |
void | cml::make_pick_volume (Real pick_x, Real pick_y, Real pick_width, Real pick_height, Real viewport_x, Real viewport_y, Real viewport_width, Real viewport_height, const MatT_1 &view, const MatT_2 &projection, Real planes[6][4], ZClip z_clip, bool normalize=true) |
Definition in file picking.h.