/******************************************************************* Constants for CS480 Hand Simulator Program ******************************************************************** Author: Stan Sclaroff Date: October 2, 2006 Comments: ********************************************************************/ #define TRUE 1 #define FALSE 0 #define PI 3.1415927 /* floating tolerance */ #define EPSILON 0.0001 /* the amount the angle changes each arrow press */ #define DELTA_ANGLE 1.0 /* rotation axis */ #define AXIS_X 0 #define AXIS_Y 1 #define AXIS_Z 2 /* joints */ #define JOINT_DISTAL 1 #define JOINT_PALM 2 #define JOINT_MIDDLE 3 /* default window dimensions */ #define DEFAULT_WINDOW_WIDTH 512 #define DEFAULT_WINDOW_HEIGHT 512