#include <arcball.h>
Public Member Functions | |
| Arcball () | |
| void | BeginDrag (const Vector2 &p) |
| void | UpdateDrag (const Vector2 &p) |
| void | EndDrag () |
| void | CancelDrag () |
| bool | IsDragging () const |
| void | SetOrientation (const Quaternion &q) |
| const Quaternion & | GetOrientation () const |
Private Member Functions | |
| Vector3 | point_on_sphere (const Vector2 &p) const |
Private Attributes | |
| Quaternion | m_q |
| Quaternion | m_start_q |
| Vector3 | m_from |
| bool | m_is_dragging |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 30 of file arcball.cpp. References sheep::feq(), sheep::Vector2::m_x, sheep::Vector3::m_x, sheep::Vector2::m_y, sheep::Vector3::m_y, sheep::Vector3::m_z, sheep::Vector3::Norm(), sheep::Real, and sheep::sq(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.6