Update to 2.0.0 tree from current Fremantle build
[opencv] / apps / StereoGR / trackball.h
diff --git a/apps/StereoGR/trackball.h b/apps/StereoGR/trackball.h
deleted file mode 100644 (file)
index 6f201f7..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-/*\r
- * (c) Copyright 1993, 1994, Silicon Graphics, Inc.\r
- * ALL RIGHTS RESERVED\r
- * Permission to use, copy, modify, and distribute this software for\r
- * any purpose and without fee is hereby granted, provided that the above\r
- * copyright notice appear in all copies and that both the copyright notice\r
- * and this permission notice appear in supporting documentation, and that\r
- * the name of Silicon Graphics, Inc. not be used in advertising\r
- * or publicity pertaining to distribution of the software without specific,\r
- * written prior permission.\r
- *\r
- * THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"\r
- * AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,\r
- * INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR\r
- * FITNESS FOR A PARTICULAR PURPOSE.  IN NO EVENT SHALL SILICON\r
- * GRAPHICS, INC.  BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,\r
- * SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY\r
- * KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,\r
- * LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF\r
- * THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC.  HAS BEEN\r
- * ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON\r
- * ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE\r
- * POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.\r
- *\r
- * US Government Users Restricted Rights\r
- * Use, duplication, or disclosure by the Government is subject to\r
- * restrictions set forth in FAR 52.227.19(c)(2) or subparagraph\r
- * (c)(1)(ii) of the Rights in Technical Data and Computer Software\r
- * clause at DFARS 252.227-7013 and/or in similar or successor\r
- * clauses in the FAR or the DOD or NASA FAR Supplement.\r
- * Unpublished-- rights reserved under the copyright laws of the\r
- * United States.  Contractor/manufacturer is Silicon Graphics,\r
- * Inc., 2011 N.  Shoreline Blvd., Mountain View, CA 94039-7311.\r
- *\r
- * OpenGL(TM) is a trademark of Silicon Graphics, Inc.\r
- */\r
-/*\r
- * trackball.h\r
- * A virtual trackball implementation\r
- * Written by Gavin Bell for Silicon Graphics, November 1988.\r
- */\r
-\r
-/*\r
- * Pass the x and y coordinates of the last and current positions of\r
- * the mouse, scaled so they are from (-1.0 ... 1.0).\r
- *\r
- * The resulting rotation is returned as a quaternion rotation in the\r
- * first paramater.\r
- */\r
-void\r
-trackball(float q[4], float p1x, float p1y, float p2x, float p2y);\r
-\r
-/*\r
- * Given two quaternions, add them together to get a third quaternion.\r
- * Adding quaternions to get a compound rotation is analagous to adding\r
- * translations to get a compound translation.  When incrementally\r
- * adding rotations, the first argument here should be the new\r
- * rotation, the second and third the total rotation (which will be\r
- * over-written with the resulting new total rotation).\r
- */\r
-void\r
-add_quats(float *q1, float *q2, float *dest);\r
-\r
-/*\r
- * A useful function, builds a rotation matrix in Matrix based on\r
- * given quaternion.\r
- */\r
-void\r
-build_rotmatrix(float m[4][4], float q[4]);\r
-\r
-/*\r
- * This function computes a quaternion based on an axis (defined by\r
- * the given vector) and an angle about which to rotate.  The angle is\r
- * expressed in radians.  The result is put into the third argument.\r
- */\r
-void\r
-axis_to_quat(float a[3], float phi, float q[4]);\r
-\r