4#include <maths/vector2.h>
5#include <maths/plane.h>
14 static void GetScreenPosRay(gef::Vector2
const & screen_position, gef::Matrix44
const & projection, gef::Matrix44
const & view, gef::Vector4 & start_point, gef::Vector4 & direction,
float screen_width,
float screen_height,
float ndc_z_min);
15 static bool RaySphereIntersect(gef::Vector4
const & start_point, gef::Vector4
const & direction, gef::Vector4
const & sphere_centre,
float sphere_radius, gef::Vector4 & hitpoint);
16 static bool RayPlaneIntersect(gef::Vector4 & start_point, gef::Vector4 & direction, gef::Vector4
const & point_on_plane, gef::Vector4
const & plane_normal, gef::Vector4 & hitpoint);