Graphviz 14.0.2~dev.20251008.0253
|
#include <assert.h>
Go to the source code of this file.
Data Structures | |
struct | Tuple2fT |
struct | Tuple3fT |
struct | Tuple4fT |
union | Matrix3fT |
union | Matrix4fT |
struct | _ArcBall_t |
Macros | |
#define | Point2fT Tuple2fT |
#define | Quat4fT Tuple4fT |
#define | Vector3fT Tuple3fT |
#define | FuncSqrt sqrtf |
#define | Epsilon 1.0e-5 |
Functions | |
ArcBall_t | init_arcBall (float NewWidth, float NewHeight) |
void | arcmouseClick (void) |
void | arcmouseDrag (void) |
void arcmouseClick | ( | void | ) |
Definition at line 123 of file arcball.c.
References _ViewInfo::arcball, click(), _ArcBall_t::isDragging, _ArcBall_t::LastRot, _ArcBall_t::MousePt, _ArcBall_t::ThisRot, and view.
Referenced by apply_actions().
void arcmouseDrag | ( | void | ) |
Definition at line 131 of file arcball.c.
References _ViewInfo::arcball, drag(), _ArcBall_t::LastRot, _ArcBall_t::MousePt, Quat4fT, _ArcBall_t::ThisRot, _ArcBall_t::Transform, and view.
Referenced by apply_actions().
ArcBall_t init_arcBall | ( | float | NewWidth, |
float | NewHeight | ||
) |
Definition at line 82 of file arcball.c.
References LastRot, setBounds(), ThisRot, Transform, and _ArcBall_t::Transform.
Referenced by cb_reshape(), and configure_event().