Did some renaming of new simgear code.
This commit is contained in:
parent
8dcf08c965
commit
df1cae3b65
2 changed files with 8 additions and 8 deletions
|
@ -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,
|
||||
|
|
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue