fixed creation of the proper OGLFT.h file by CMake

main
Martin Felis (berta) 2010-11-28 00:27:53 +01:00
parent f583cf39a8
commit 33683e817d
2 changed files with 2 additions and 2323 deletions

File diff suppressed because it is too large Load Diff

View File

@ -233,13 +233,13 @@ namespace OGLFT {
if ( new_value < x_min_ ) x_min_ = new_value;
new_value = b.y_min_ + advance_.dy_;
if ( new_value < y_min_ ) y_min_ = new_value;
if ( (b.advance_.dy_ != 0.) && new_value < y_min_ ) y_min_ = new_value;
new_value = b.x_max_ + advance_.dx_;
if ( new_value > x_max_ ) x_max_ = new_value;
new_value = b.y_max_ + advance_.dy_;
if ( new_value > y_max_ ) y_max_ = new_value;
if ( (b.advance_.dy_ != 0.) && new_value > y_max_ ) y_max_ = new_value;
advance_.dx_ += b.advance_.dx_;
advance_.dy_ += b.advance_.dy_;