Graphviz 13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
viewportcamera.c File Reference
#include "viewportcamera.h"
#include "gui.h"
#include <math.h>
#include <glcomp/glcompbutton.h>
#include <glcomp/glcomplabel.h>
#include <glcomp/glcomppanel.h>
#include <util/alloc.h>
Include dependency graph for viewportcamera.c:

Go to the source code of this file.

Functions

static viewport_cameranew_viewport_camera (void)
 
static viewport_cameraadd_camera_to_viewport (ViewInfo *vi)
 
void menu_click_add_camera (void)
 

Function Documentation

◆ add_camera_to_viewport()

static viewport_camera * add_camera_to_viewport ( ViewInfo vi)
static

Definition at line 23 of file viewportcamera.c.

References _ViewInfo::active_camera, _ViewInfo::camera_count, _ViewInfo::cameras, gv_recalloc(), and new_viewport_camera().

Referenced by menu_click_add_camera().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ menu_click_add_camera()

void menu_click_add_camera ( void  )

Definition at line 33 of file viewportcamera.c.

References add_camera_to_viewport(), _ViewInfo::panx, _ViewInfo::pany, _ViewInfo::panz, _viewport_camera::r, _viewport_camera::targetx, _viewport_camera::targety, _viewport_camera::targetz, view, _viewport_camera::x, _viewport_camera::y, _viewport_camera::z, and _ViewInfo::zoom.

Referenced by switch2D3D().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ new_viewport_camera()

static viewport_camera * new_viewport_camera ( void  )
static

Definition at line 19 of file viewportcamera.c.

References gv_alloc().

Referenced by add_camera_to_viewport().

Here is the call graph for this function:
Here is the caller graph for this function: