mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-10 16:27:54 -06:00
Tech ENABLE_RAYCAST_PICKING - Raytraced picking of volumes
This commit is contained in:
parent
02f83f29c7
commit
3577a259d5
19 changed files with 690 additions and 152 deletions
|
@ -13,6 +13,7 @@
|
|||
|
||||
#include "GLModel.hpp"
|
||||
#include "GLShader.hpp"
|
||||
#include "MeshUtils.hpp"
|
||||
|
||||
#include <functional>
|
||||
#include <optional>
|
||||
|
@ -202,6 +203,8 @@ public:
|
|||
EHoverState hover;
|
||||
|
||||
GUI::GLModel model;
|
||||
// raycaster used for picking
|
||||
std::unique_ptr<GUI::MeshRaycaster> mesh_raycaster;
|
||||
// BBS
|
||||
mutable std::vector<GUI::GLModel> mmuseg_models;
|
||||
mutable ObjectBase::Timestamp mmuseg_ts;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue