mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Fixed some picking issues after porting GLVolumes to C++.
Initial interface for print paths visualization by VBOs.
This commit is contained in:
parent
79e6f23fdc
commit
e7a920fe16
5 changed files with 286 additions and 35 deletions
|
@ -30,6 +30,8 @@
|
|||
bool empty() const;
|
||||
Clone<Pointf3> origin() const
|
||||
%code%{ RETVAL = THIS->origin; %};
|
||||
void translate(double x, double y, double z)
|
||||
%code%{ THIS->origin.translate(x, y, z); %};
|
||||
Clone<BoundingBoxf3> bounding_box() const
|
||||
%code%{ RETVAL = THIS->bounding_box; %};
|
||||
Clone<BoundingBoxf3> transformed_bounding_box() const;
|
||||
|
@ -87,17 +89,19 @@ GLVolumeCollection::arrayref()
|
|||
%{
|
||||
|
||||
void
|
||||
_load_print_toolpaths(print, volumes)
|
||||
_load_print_toolpaths(print, volumes, use_VBOs)
|
||||
Print *print;
|
||||
GLVolumeCollection *volumes;
|
||||
bool use_VBOs;
|
||||
CODE:
|
||||
_3DScene::_load_print_toolpaths(print, volumes);
|
||||
_3DScene::_load_print_toolpaths(print, volumes, use_VBOs);
|
||||
|
||||
void
|
||||
_load_print_object_toolpaths(print_object, volumes)
|
||||
_load_print_object_toolpaths(print_object, volumes, use_VBOs)
|
||||
PrintObject *print_object;
|
||||
GLVolumeCollection *volumes;
|
||||
bool use_VBOs;
|
||||
CODE:
|
||||
_3DScene::_load_print_object_toolpaths(print_object, volumes);
|
||||
_3DScene::_load_print_object_toolpaths(print_object, volumes, use_VBOs);
|
||||
|
||||
%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue