Index: willt5.c
===================================================================
--- willt5.c	(revision 558)
+++ willt5.c	(revision 559)
@@ -7,22 +7,12 @@
 // This client application will allow you to spectate any Raydium server (and
 // spawns a wood box into the networked world to avoid timeouts). 
 
+// Usage example: ./odyncomp.sh willt5.c --server 192.168.1.10
+
 // willou.c based.
 
 #include "raydium/index.c"
 
-GLfloat cam_angle_x = 0;
-GLfloat cam_angle_y = 90;
-
-GLfloat cam_pos_x = 0;
-GLfloat cam_pos_y = 0;
-GLfloat cam_pos_z = 0;
-
-GLfloat speed = 0.1;
-GLint sensibilite = 3;
-
-GLint lacet = 0;
-
 GLfloat light_color[] = {1.0, 0.9, 0.8, 1.0};
 
 char draw_debug=1;
@@ -30,16 +20,8 @@
 void display(void)
 {
     
-    int delta_x, delta_y;
     raydium_joy_key_emul();
 
-    cam_pos_z += (raydium_trigo_sin(cam_angle_x+90)*raydium_joy_y*speed*raydium_trigo_sin(90-cam_angle_y));
-    cam_pos_x += (raydium_trigo_cos(cam_angle_x+90)*raydium_joy_y*speed*raydium_trigo_sin(90-cam_angle_y));
-    cam_pos_y += (raydium_trigo_cos(90-cam_angle_y)*speed*raydium_joy_y);
-    
-    cam_pos_x -= (raydium_trigo_cos(cam_angle_x)*raydium_joy_x*speed);
-    cam_pos_z -= (raydium_trigo_sin(cam_angle_x)*raydium_joy_x*speed);
-    
     if(raydium_key_last==1027)
 	exit(0);
 
@@ -48,14 +30,6 @@
 
     if(raydium_key_last==1116) draw_debug*=-1;
     
-    delta_x = raydium_mouse_x - (raydium_window_tx/2);
-    cam_angle_x += (delta_x*sensibilite*0.1f); 
-
-    delta_y = raydium_mouse_y - (raydium_window_ty/2);
-    cam_angle_y += (delta_y*sensibilite*0.1f); 
-
-    raydium_mouse_move(raydium_window_tx/2, raydium_window_ty/2);
-    
     raydium_light_position[0][0]=100;
     raydium_light_position[0][1]=100;
     raydium_light_position[0][2]=100;
@@ -65,9 +39,8 @@
 
     
     raydium_clear_frame();
-    raydium_camera_place(cam_pos_x,cam_pos_y,cam_pos_z,cam_angle_x,cam_angle_y,0);
 
-    raydium_camera_replace();
+    raydium_camera_freemove();
     
     raydium_ode_draw_all(0);
     if(draw_debug>0)