Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10337 in orxonox.OLD for trunk/src


Ignore:
Timestamp:
Jan 24, 2007, 5:03:49 PM (18 years ago)
Author:
patrick
Message:

fixed a floating point problem

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/bsp/bsp_manager.cc

    r10314 r10337  
    326326      v2 = this->cam - v2;
    327327
     328
     329
    328330      // swap if necessary
    329       if( v1 > v2)
     331      if( v1.len() - v2.len() > 1)
    330332      {
    331333        // swap elements
     
    334336        this->trasparent[i] = tmp;
    335337
     338        //printf( "has swapped: %d\n", i );
     339
     340        //v1.debug();
     341        //v2.debug();
    336342        hasSwapped = true;
    337343      }
    338344    }
    339345  }
     346  //printf("hasSwapped == false\n");
    340347
    341348
Note: See TracChangeset for help on using the changeset viewer.