Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 21, 2009, 1:18:36 PM (15 years ago)
Author:
rgrieder
Message:

Found some non empty new lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/util/Math.cc

    r6137 r6387  
    138138                return orxonox::Vector2(0, 1);
    139139        }
    140        
     140
    141141        float cos_value = clamp<float>(myorthonormal.dotProduct(projection) / projectionlength, -1, 1);
    142142        float sin_value = sqrt( 1 - cos_value*cos_value );
    143        
     143
    144144        if ((mydirection.crossProduct(myorthonormal)).dotProduct(distance) > 0)
    145145            return orxonox::Vector2( sin_value, cos_value );
     
    179179        }
    180180        //float angle = acos(clamp<float>(myorthonormal.dotProduct(projection) / projectionlength, -1, 1));
    181        
     181
    182182        float cos_value = clamp<float>(myorthonormal.dotProduct(projection) / projectionlength, -1, 1);
    183183        float sin_value = sqrt( 1 - cos_value*cos_value );
Note: See TracChangeset for help on using the changeset viewer.