mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 15:51:10 -06:00
Renamed GLVolume member variables to match the corresponding ModelInstance ones
This commit is contained in:
parent
15b1340514
commit
87c5c8e7f6
6 changed files with 61 additions and 58 deletions
|
@ -56,9 +56,9 @@
|
|||
int volume_idx() const;
|
||||
int instance_idx() const;
|
||||
Clone<Vec3d> origin() const
|
||||
%code%{ RETVAL = THIS->get_origin(); %};
|
||||
%code%{ RETVAL = THIS->get_offset(); %};
|
||||
void translate(double x, double y, double z)
|
||||
%code%{ THIS->set_origin(THIS->get_origin() + Vec3d(x, y, z)); %};
|
||||
%code%{ THIS->set_offset(THIS->get_offset() + Vec3d(x, y, z)); %};
|
||||
Clone<BoundingBoxf3> bounding_box() const
|
||||
%code%{ RETVAL = THIS->bounding_box; %};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue