31 assert((NewWidth > 1.0f) && (NewHeight > 1.0f));
48 float length = TempPt.X * TempPt.X + TempPt.Y * TempPt.Y;
66 0.0f, 1.0f, 0.0f, 0.0f,
67 0.0f, 0.0f, 1.0f, 0.0f,
68 0.0f, 0.0f, 0.0f, 1.0f}
108 if (Vector3fLength(Perp) >
Epsilon) {
static void click(ArcBall_t *a, const Point2fT *NewPt)
ArcBall_t init_arcBall(float NewWidth, float NewHeight)
static void setBounds(ArcBall_t *a, float NewWidth, float NewHeight)
static Quat4fT drag(ArcBall_t *a, const Point2fT *NewPt)
static Matrix4fT Transform
static Vector3fT mapToSphere(ArcBall_t *a, const Point2fT *NewPt)
static Extype_t length(Exid_t *rhs, Exdisc_t *disc)
static double norm(int n, const double *x)