1
0
Fork 0

Minor reorgs.

This commit is contained in:
curt 2000-05-08 17:25:09 +00:00
parent 665f663043
commit 3c914ac718
2 changed files with 5 additions and 5 deletions

View file

@ -212,7 +212,7 @@ int FGGenOutput::build( FGConstruct& c ) {
// caclulate the bounding sphere for a list of triangle faces // caclulate the bounding sphere for a list of triangle faces
void FGGenOutput::calc_group_bounding_sphere( FGConstruct& c, void FGGenOutput::calc_group_bounding_sphere( FGConstruct& c,
const fan_list& fans, const opt_list& fans,
Point3D *center, double *radius ) Point3D *center, double *radius )
{ {
cout << "calculate group bounding sphere for " << fans.size() << " fans." cout << "calculate group bounding sphere for " << fans.size() << " fans."
@ -223,8 +223,8 @@ void FGGenOutput::calc_group_bounding_sphere( FGConstruct& c,
// generate a list of unique points from the triangle list // generate a list of unique points from the triangle list
FGTriNodes nodes; FGTriNodes nodes;
const_fan_list_iterator f_current = fans.begin(); const_opt_list_iterator f_current = fans.begin();
const_fan_list_iterator f_last = fans.end(); const_opt_list_iterator f_last = fans.end();
for ( ; f_current != f_last; ++f_current ) { for ( ; f_current != f_last; ++f_current ) {
const_int_list_iterator i_current = f_current->begin(); const_int_list_iterator i_current = f_current->begin();
const_int_list_iterator i_last = f_current->end(); const_int_list_iterator i_last = f_current->end();

View file

@ -66,7 +66,7 @@ private:
FGTriNodes tex_coords; FGTriNodes tex_coords;
// fan list // fan list
fan_list fans[FG_MAX_AREA_TYPES]; opt_list fans[FG_MAX_AREA_TYPES];
// textures pointer list // textures pointer list
tex_list textures[FG_MAX_AREA_TYPES]; tex_list textures[FG_MAX_AREA_TYPES];
@ -80,7 +80,7 @@ private:
void calc_gbs( FGConstruct& c ); void calc_gbs( FGConstruct& c );
// caclulate the bounding sphere for a list of triangle faces // caclulate the bounding sphere for a list of triangle faces
void calc_group_bounding_sphere( FGConstruct& c, const fan_list& fans, void calc_group_bounding_sphere( FGConstruct& c, const opt_list& fans,
Point3D *center, double *radius ); Point3D *center, double *radius );
// caclulate the bounding sphere for the specified triangle face // caclulate the bounding sphere for the specified triangle face