- printf ( "Please enter new value for <sigma> (default %f, currently %f): ", s0, sigma ) ;
+ printf ( "Please enter new value for <sigma> (default %lf, currently %lf): ", s0, sigma ) ;
fgets ( inputline, INPUT_LINE_LENGTH-1, stdin ) ;
sscanf ( inputline, "%lf", &sigma ) ;
fgets ( inputline, INPUT_LINE_LENGTH-1, stdin ) ;
sscanf ( inputline, "%lf", &sigma ) ;
- printf ( "Please enter new value for <b> (default %f, currently %f): ", b0, b ) ;
+ printf ( "Please enter new value for <b> (default %lf, currently %lf): ", b0, b ) ;
fgets ( inputline, INPUT_LINE_LENGTH-1, stdin ) ;
sscanf ( inputline, "%lf", &b ) ;
fgets ( inputline, INPUT_LINE_LENGTH-1, stdin ) ;
sscanf ( inputline, "%lf", &b ) ;
- printf ( "Please enter new value for <r> (default %f, currently %f): ", r0, r ) ;
+ printf ( "Please enter new value for <r> (default %lf, currently %lf): ", r0, r ) ;
fgets ( inputline, INPUT_LINE_LENGTH-1, stdin ) ;
sscanf ( inputline, "%lf", &r ) ;
fgets ( inputline, INPUT_LINE_LENGTH-1, stdin ) ;
sscanf ( inputline, "%lf", &r ) ;
/* Print the distance between the two points */
glColor3d ( 1.0, 1.0, 1.0 ) ; /* White */
/* Print the distance between the two points */
glColor3d ( 1.0, 1.0, 1.0 ) ; /* White */