Fixed an IRIX warning message where an inline function is referenced
before it is defined.
This commit is contained in:
parent
4eb398a807
commit
84468dddea
1 changed files with 6 additions and 6 deletions
|
@ -282,18 +282,18 @@ inline double FGBucket::get_center_lon() const {
|
|||
}
|
||||
|
||||
|
||||
// return width of the tile
|
||||
inline double FGBucket::get_width() const {
|
||||
return bucket_span( get_center_lat() );
|
||||
}
|
||||
|
||||
|
||||
// return the center lat of a tile
|
||||
inline double FGBucket::get_center_lat() const {
|
||||
return lat + y / 8.0 + FG_HALF_BUCKET_SPAN;
|
||||
}
|
||||
|
||||
|
||||
// return width of the tile
|
||||
inline double FGBucket::get_width() const {
|
||||
return bucket_span( get_center_lat() );
|
||||
}
|
||||
|
||||
|
||||
// return height of the tile
|
||||
inline double FGBucket::get_height() const {
|
||||
return FG_BUCKET_SPAN;
|
||||
|
|
Loading…
Add table
Reference in a new issue