]> git.mxchange.org Git - flightgear.git/blobdiff - src/AIModel/AICarrier.cxx
David Culp:
[flightgear.git] / src / AIModel / AICarrier.cxx
index 9a15a840d7134e88f0271e85b9a6589e8224fa8e..525592c740b275e152710d4a494477aa0c485a98 100644 (file)
@@ -101,7 +101,7 @@ void FGAICarrier::setFlolsOffset(const Point3D& off) {
   flols_off = off;
 }
 
-void FGAICarrier::getVelocityWrtEarth(sgdVec3 v, sgdVec3 omega, sgdVec3 pivot) {
+void FGAICarrier::getVelocityWrtEarth(sgdVec3& v, sgdVec3& omega, sgdVec3& pivot) {
   sgdCopyVec3(v, vel_wrt_earth );
   sgdCopyVec3(omega, rot_wrt_earth );
   sgdCopyVec3(pivot, rot_pivot_wrt_earth );
@@ -534,7 +534,7 @@ bool FGAICarrier::mark_cat(ssgEntity* e, const list<string>& cat_objects, bool m
   return found;
 }
 
-void FGAICarrier::UpdateFlols(sgdMat3 trans) {
+void FGAICarrier::UpdateFlols(const sgdMat3& trans) {
     
     float in[3];
     float out[3];
@@ -860,7 +860,7 @@ void FGAICarrier::UpdateTACAN(double dt){ //update the TACAN
 bool FGAICarrier::OutsideBox(){ //returns true if the carrier is outside operating box
 
     if ( max_lat == 0 && min_lat == 0 && max_long == 0 && min_long == 0) {
-       SG_LOG(SG_GENERAL, SG_INFO,"AICarrier: No Operating Box defined" );
+       SG_LOG(SG_GENERAL, SG_BULK,"AICarrier: No Operating Box defined" );
        return false;
     }