]> git.mxchange.org Git - flightgear.git/commitdiff
Did some renaming of new simgear code.
authorcurt <curt>
Wed, 14 May 2003 19:32:10 +0000 (19:32 +0000)
committercurt <curt>
Wed, 14 May 2003 19:32:10 +0000 (19:32 +0000)
src/Objects/obj.cxx
src/Scenery/tileentry.cxx

index 09fab77b734bb91132e79282a19d74aaf160eddf..fa3f41d50c3481cc567e5c7b8099e08c2135ebae 100644 (file)
@@ -723,10 +723,10 @@ bool fgBinObjLoad( const string& path, const bool is_base,
             sgVec3 up;
             sgSetVec3( up, center->x(), center->y(), center->z() );
             // returns a transform -> lod -> leaf structure
-            ssgBranch *branch = gen_directional_lights( nodes, normals,
-                                                        pts_v[i], pts_n[i],
-                                                        matlib, pt_materials[i],
-                                                        up );
+            ssgBranch *branch = sgMakeDirectionalLights( nodes, normals,
+                                                         pts_v[i], pts_n[i],
+                                                         matlib,
+                                                         pt_materials[i], up );
             // branches don't honor callbacks as far as I know so I'm
             // commenting this out to avoid a plib runtime warning.
             branch->setTravCallback( SSG_CALLBACK_PRETRAV,
index 5a16444f48ed2b493b52ffacf95345495aca97ff..72f53dc04264f32de7686850fe8f6000b3257f08 100644 (file)
@@ -719,8 +719,8 @@ FGTileEntry::load( const SGPath& base, bool is_base )
                 obj_trans->setTransform( &obj_pos );
 
                 ssgBranch *custom_obj
-                    = gen_taxi_sign( globals->get_matlib(),
-                                     custom_path.str(), name );
+                    = sgMakeTaxiSign( globals->get_matlib(),
+                                      custom_path.str(), name );
 
                 // wire the pieces together
                 if ( custom_obj != NULL ) {
@@ -748,8 +748,8 @@ FGTileEntry::load( const SGPath& base, bool is_base )
                 obj_trans->setTransform( &obj_pos );
 
                 ssgBranch *custom_obj
-                    = gen_runway_sign( globals->get_matlib(),
-                                       custom_path.str(), name );
+                    = sgMakeRunwaySign( globals->get_matlib(),
+                                        custom_path.str(), name );
 
                 // wire the pieces together
                 if ( custom_obj != NULL ) {