ࡱ                >  	               "          $          !    7 	               \   bjbjUU                  	   7|  7|  \                                                                 l                                                                                                   O  >                                                                                       $        	                                                                                                                            	                                                                                                                                       >                                                                                                             `wE                                      0   O            
            
                                                                


//Code that can be used to convert the start position into valid 3D coordinates (in your builder).

void worldcraftToStandardPoint (Point &standardPoint, Point &worldcraftPoint) {
	//Convert points to a standard coordinate system (worldcraft uses x +ve is right, y+ve is back, z+ve is up).
	extern double worldcraftToMeters ();
	Point result = {
		worldcraftPoint.x * worldcraftToMeters (), 
		worldcraftPoint.z * worldcraftToMeters (),
		-worldcraftPoint.y * worldcraftToMeters ()};
	standardPoint = result;
}


//Code that cam be used in your World::load routine in your game to set the camera up
	
//Change the camera to start at the correct spot (does not deal with orientation).
Point start = {world->startPosition.x, world->startPosition.y, world->startPosition.z};
camera->cameraMatrix.setToIdentity ();
camera->cameraMatrix.preTranslateBy (start);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           \                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               OJ  PJ QJ  ^J           f  g    %  K  ]                 [  ]      /  \                                                                                                                                                                                                                                                                                                                                                                                                               \                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      / =!"#$%                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
  i           0  @ 0   N o r m a l       _HmH	sH	tH	                  < A@ <   D e f a u l t   P a r a g r a p h   F o n t             4 Z@  4  
 P l a i n   T e x t      OJ QJ ^J     \                     f   g      %  K  ]                 [  ]      /  ^      0              0             0             0             0             0             0             0             0             0             0             0             0             0              0              0              0              0              0              0              0              0             \        \        \         l                              
        4  F  _  p  s                        $  /                *  7  R  ^                                                    e   f   g   k      $  &  ,  _  p              )  +      /  5  ^   3   3  3  3  3  3  3  3  3  3  3      E m p l o y e e B D : \ S c h o o l \ 4 0 2   2 0 0 1 \ A s s i g n m e n t s   2 0 0 1 \ c o n v e r s i o n A n d C a m e r a S e t t i n g . d o c  E m p l o y e e F D : \ S c h o o l \ 4 0 2   2 0 0 1 \ A s s i g n m e n t s   2 0 0 1 \ c o n v e r s i o n A n d C a m e r a S e t t i n g . t x t . d o c @ f   f   s  f       e              \     @      U n k n o w n                                   G  :                     T i m e s   N e w   R o m a n   5                       S y m b o l   3&  :                     A r i a l   G
                             M S   M i n c h o   -3  fg  ?5  	:                     C o u r i e r   N e w   "  q   h    YFYF        |                                $                                                                                                                                                                                                                                                                                                                             20              f                                                                            2Q                                       a / / C o d e   t h a t   c a n   b e   u s e d   t o   c o n v e r t   t h e   s t a r t   p o s i t i o n   i n t o   v a l i d   3 D   c o o r d i n a t e s   ( i n   y o u r   b u i l d e r )        E m p l o y e e  E m p l o y e e                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              
                    Oh +'0                                 $     0     <     P  	   d     p  
          
                                 b   //Code that can be used to convert the start position into valid 3D coordinates (in your builder)          /Co   	   Employee at        mpl       mpl      Normal.dot     	   Employee t        2 pl      Microsoft Word 9.0 u@    F#    @    $fE@    $fE         |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 
                    ՜. +,0   `        h      p                                                   
         B             Dell Computer Corporation e                f     
	                                  b   //Code that can be used to convert the start position into valid 3D coordinates (in your builder)            Title                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               
         
                                                       #   R o o t   E n t r y                                                 	           F            `wE%          1 T a b l e                                                                                           	          W o r d D o c u m e n t                                                                                            S u m m a r y I n f o r m a t i o n                           (                                                      D o c u m e n t S u m m a r y I n f o r m a t i o n           8                                                C o m p O b j                                                                                                j       O b j e c t P o o l                                                                   `wE`wE                                                                                                                                    
  	           F   Microsoft Word Document 
   MSWordDoc    Word.Document.8 9q                                                                                                                                                                                                                                                                                                                                                                                                                                  