Graphviz 13.0.0~dev.20241220.2304
|
#include <assert.h>
Go to the source code of this file.
Data Structures | |
union | Tuple2fT |
union | Tuple3fT |
union | Tuple4fT |
union | Matrix3fT |
union | Matrix4fT |
struct | _ArcBall_t |
Macros | |
#define | Point2fT Tuple2fT |
#define | Quat4fT Tuple4fT |
#define | Vector2fT Tuple2fT |
#define | Vector3fT Tuple3fT |
#define | FuncSqrt sqrtf |
#define | Epsilon 1.0e-5 |
Functions | |
void | init_arcBall (ArcBall_t *a, float NewWidth, float NewHeight) |
void | arcmouseClick (void) |
void | arcmouseDrag (void) |
void arcmouseClick | ( | void | ) |
Definition at line 142 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 150 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().
void init_arcBall | ( | ArcBall_t * | a, |
float | NewWidth, | ||
float | NewHeight | ||
) |
Definition at line 88 of file arcball.c.
References _ArcBall_t::EnVec, _ArcBall_t::isClicked, _ArcBall_t::isDragging, _ArcBall_t::isRClicked, LastRot, _ArcBall_t::LastRot, setBounds(), _ArcBall_t::StVec, ThisRot, _ArcBall_t::ThisRot, Transform, and _ArcBall_t::Transform.
Referenced by cb_reshape(), and configure_event().