OSDN Git Service

分解能算出処理を手直し。
authorMandhelingFreak <mandheling30-freak@yahoo.co.jp>
Mon, 17 Feb 2014 16:49:25 +0000 (01:49 +0900)
committerMandhelingFreak <mandheling30-freak@yahoo.co.jp>
Mon, 17 Feb 2014 18:54:31 +0000 (03:54 +0900)
GVONavish/GVONavish/GVOShip.cpp

index 353d7fd..356a17a 100644 (file)
@@ -22,19 +22,12 @@ namespace {
        }
 
        // \82»\82Ì\83x\83N\83g\83\8b\82Å\95\\8c»\8fo\97\88\82é\83Q\81[\83\80\93à\95û\8ap\82Ì\95ª\89ð\94\\82ð\8eZ\8fo
-       // \83e\83L\83g\81[\89ß\82¬\82é\82ñ\82Å\82»\82Ì\82¤\82¿\92¼\82·\81B
        inline double s_resolutionForVector( const GVOVector& vector )
        {
                const double length = vector.length();
                if ( length == 0.0 ) {
                        return 0.0;
                }
-               if ( 90.0 <= length ) {
-                       return g_radianFromDegree( 2 ); // \82Q\93x\82ª\8dÅ\8d\82
-               }
-               if ( length < 2 ) {
-                       return g_radianFromDegree( 90 );
-               }
                const double resolution = M_PI_2 / length;
                return resolution;
        }