SLA gizmo now respects the clipping plane when rendering points and raycasting mouse onto mesh

This commit is contained in:
Lukas Matena 2019-03-20 08:48:42 +01:00
parent fd1f9d65fb
commit bc9164e40c
4 changed files with 74 additions and 27 deletions

View file

@ -86,6 +86,7 @@ private:
int m_canvas_height;
std::vector<const ConfigOption*> get_config_options(const std::vector<std::string>& keys) const;
bool is_point_clipped(const Vec3d& point, const Vec3d& direction_to_camera, float z_shift) const;
// Methods that do the model_object and editing cache synchronization,
// editing mode selection, etc: