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,
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 ) {
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 ) {