mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Camera data moved to c++ - WIP
This commit is contained in:
parent
32063cbe23
commit
1fd59144c7
8 changed files with 190 additions and 50 deletions
|
@ -222,7 +222,15 @@ set_camera_type(canvas, type)
|
|||
unsigned int type;
|
||||
CODE:
|
||||
_3DScene::set_camera_type((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), type);
|
||||
|
||||
|
||||
std::string
|
||||
get_camera_type_as_string(canvas)
|
||||
SV *canvas;
|
||||
CODE:
|
||||
RETVAL = _3DScene::get_camera_type_as_string((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"));
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
float
|
||||
get_camera_zoom(canvas)
|
||||
SV *canvas;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue