Show All |
Public Member Functions
-
Arcball ()
-
Arcball (CameraPersp *camera, const Sphere &sphere)
-
voidmouseDown (const app::MouseEvent &event)
-
voidmouseDown (const vec2 &mousePos, const ivec2 &windowSize)
-
voidmouseDrag (const app::MouseEvent &event)
-
voidmouseDrag (const vec2 &mousePos, const ivec2 &windowSize)
-
voidresetQuat ()
-
const quat &getQuat () const
-
voidsetQuat (const quat &q)
-
voidsetSphere (const Sphere &s)
-
const Sphere &getSphere () const
-
voidsetConstraintAxis (const vec3 &constraintAxis)
-
voidsetNoConstraintAxis ()
-
boolisUsingConstraint () const
-
const vec3 &getConstraintAxis () const
-
voidmouseOnSphere (const vec2 &point, const ivec2 &windowSize, vec3 *resultVector, float *resultAngleAddition)
-
vec3getFromVector () const
-
vec3getToVector () const