]> git.mxchange.org Git - flightgear.git/commitdiff
Removed all dependencies on <simgear/math/mat3.h> and friends. These are
authorcurt <curt>
Sat, 19 Feb 2000 14:29:27 +0000 (14:29 +0000)
committercurt <curt>
Sat, 19 Feb 2000 14:29:27 +0000 (14:29 +0000)
old routines from SRGP.  Steve's plib/sg.h does a nice job of completely
replacing this (and since plib is already around) and is a nice clean design
so it just makes sense.

26 files changed:
src/Airports/genapt.cxx
src/Cockpit/Makefile.am
src/Cockpit/cockpit.cxx
src/Cockpit/hud.cxx
src/Cockpit/hud.hxx
src/Cockpit/hud_card.cxx
src/Cockpit/hud_dnst.cxx
src/Cockpit/hud_guag.cxx
src/Cockpit/hud_inst.cxx
src/Cockpit/hud_labl.cxx
src/Cockpit/hud_ladr.cxx
src/Cockpit/hud_lat.cxx
src/Cockpit/hud_lon.cxx
src/Cockpit/hud_opts.hxx [new file with mode: 0644]
src/Cockpit/hud_scal.cxx
src/Cockpit/hud_tbi.cxx
src/Main/main.cxx
src/Main/ttest.cxx
src/NetworkOLK/net_hud.cxx
src/NetworkOLK/network.cxx
src/Objects/fragment.cxx
src/Objects/obj.cxx
src/Scenery/tilemgr.cxx
src/Time/light.cxx
src/Time/moonpos.cxx
src/Time/sunpos.cxx

index af70ddf0ddb4d67fa9ec6fc51bf7b1f9dbb70e6c..6ad0b20891f84e896dc42e3c3a31954d82468fc1 100644 (file)
 #  include <strings.h>
 #endif
 
+#include <plib/sg.h>
+
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/fg_geodesy.hxx>
-#include <simgear/math/mat3.h>
 #include <simgear/math/point3d.hxx>
 #include <simgear/math/polar3d.hxx>
 #include <simgear/misc/fgstream.hxx>
 
 #include <Objects/materialmgr.hxx>
 
-// #include <gpc/gpc.h>
-
 #include "genapt.hxx"
 
 FG_USING_STD(string);
@@ -90,8 +89,8 @@ gen_base( const Point3D& average, const container& perimeter, FGTileEntry *t)
 {
     GLint display_list;
     Point3D cart, cart_trans, tex;
-    MAT3vec normal;
-    double dist, max_dist, temp;
+    sgVec3 normal;
+    double dist, max_dist;
     int center_num, i;
 
     fgFRAGMENT fragment;
@@ -119,10 +118,8 @@ gen_base( const Point3D& average, const container& perimeter, FGTileEntry *t)
            << average.x() << " " << average.y() << " " << average.z() );
     fragment.center = average;
 
-    normal[0] = average.x();
-    normal[1] = average.y();
-    normal[2] = average.z();
-    MAT3_NORMALIZE_VEC(normal, temp);
+    sgSetVec3( normal, average.x(), average.y(), average.z() );
+    sgNormalizeVec3( normal );
     
     display_list = xglGenLists(1);
     xglNewList(display_list, GL_COMPILE);
@@ -138,7 +135,7 @@ gen_base( const Point3D& average, const container& perimeter, FGTileEntry *t)
 
     tex = calc_tex_coords( t->nodes[t->ncount-1], t->center );
     xglTexCoord2f(tex.x(), tex.y());
-    xglNormal3dv(normal);
+    xglNormal3fv(normal);
     xglVertex3d(t->nodes[t->ncount-1][0],
                t->nodes[t->ncount-1][1],
                t->nodes[t->ncount-1][2]);
index 5aac8271f4c37232fa5487132da92d72d433ffdc..9c1948027be3be87226be08cef3794ddd93cabe4 100644 (file)
@@ -2,11 +2,11 @@ noinst_LIBRARIES = libCockpit.a
 
 libCockpit_a_SOURCES = \
        cockpit.cxx cockpit.hxx \
-       hud.cxx hud.hxx \
+       hud.cxx hud.hxx hud_opts.hxx \
        hud_card.cxx hud_dnst.cxx hud_guag.cxx hud_inst.cxx \
        hud_labl.cxx hud_ladr.cxx \
        hud_lat.cxx hud_lon.cxx \
        hud_scal.cxx hud_tbi.cxx \
        panel.cxx panel.hxx
 
-INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
\ No newline at end of file
+INCLUDES += -I$(top_builddir) -I$(top_builddir)/src
index 840f0f47bd9f65c631aa33dafd7b0a694d8ab163..f0ad116dd6ed0b8b1487cc4efa3c33e42c6aa31d 100644 (file)
@@ -39,7 +39,6 @@
 #include <simgear/constants.h>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index b9a543e476a112c755f51e05d4f121828d5689bf..0d773c8c945164775639ab5045c98e6011530dc8 100644 (file)
@@ -45,7 +45,6 @@
 #include <simgear/constants.h>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index b2fedeaee52d6902ab4eeb3276ff7a438c4f6eae..f060bd69b9719ef40a4074f8c14352bdbb03a42e 100644 (file)
@@ -48,7 +48,6 @@
 #include <deque>        // STL double ended queue
 
 #include <simgear/constants.h>
-#include <simgear/math/mat3.h>
 
 #include <fg_typedefs.h>
 #include <Aircraft/aircraft.hxx>
 #include <Controls/controls.hxx>
 #include <GUI/gui.h>
 
+#include "hud_opts.hxx"
+
 FG_USING_STD(deque);
 FG_USING_STD(vector);
 FG_USING_NAMESPACE(std);
 
 
+// some of Norman's crazy optimizations. :-)
+
 #ifndef WIN32
   typedef struct {
       int x, y;
index 1278f631c478bca73dbbe4c43f3418499eeca7d0..f0761cdcae14ea3d5418dcda30fb5550488ccf25 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index 6bbc61bf6adf5d87e098df5ee18b6e5007e558ae..0314be094c609823ea5da9dbde7817bbaee68f2c 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index fe8d8f61b7877d0d4786ca3602016e3a29198d0e..7bbf2f15526e3631546d7b0aa0b003156bfa1524 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index fdd2934f56f5c1993e447974bd4b69fc7e858626..25b0f03801fcf35a33be8fd2247bbace73c7de57 100644 (file)
@@ -13,7 +13,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index 048394e0cc40046f35dbb6972af40558b1663ae5..09d18b269c6e53b0d68571add88e7a916787846b 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index 13fb5df3c9c33da854fae0a8c1dfcf536bd6ce7a..e3143cee6fdd4fd814fc4f5b515adbb24653d664 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index 39c6e13972a1ca3549b2ceeec8583e3bcefab03b..ea9e61f71d5cfa2dcd5540e5466bf07494f5501a 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index d46cf01cce8ad6bd99b83ffda5479976927f7445..8cdb8363e75309edf1494e967e7e0afd76962c0b 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
diff --git a/src/Cockpit/hud_opts.hxx b/src/Cockpit/hud_opts.hxx
new file mode 100644 (file)
index 0000000..fa12848
--- /dev/null
@@ -0,0 +1,64 @@
+// hud_opts.hxx -- hud optimization tools
+//
+// Probably written by Norman Vine, started sometime in 1998 or 1999.
+//
+// Copyright (C) 1999  FlightGear Project
+//
+// This program is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+//
+// $Id$
+
+
+#ifndef _HUD_OPTS_HXX
+#define _HUD_OPTS_HXX
+
+#ifndef __cplusplus
+# error This library requires C++
+#endif
+
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
+#include <simgear/compiler.h>
+
+
+#if defined(i386)
+#define USE_X86_ASM
+#endif
+
+#if defined(USE_X86_ASM)
+static __inline__ int FloatToInt(float f)
+{
+   int r;
+   __asm__ ("fistpl %0" : "=m" (r) : "t" (f) : "st");
+   return r;
+}
+#elif  defined(__MSC__) && defined(__WIN32__)
+static __inline int FloatToInt(float f)
+{
+   int r;
+   _asm {
+     fld f
+     fistp r
+    }
+   return r;
+}
+#else
+#define FloatToInt(F) ((int) ((F) < 0.0f ? (F)-0.5f : (F)+0.5f))
+#endif
+
+
+#endif // _HUD_OPTS_H
index 46d5ec951ecb9c5580e7572c09d4270062449c47..6dcb1d30b8d5387722778a5c85dd7c895affa5c1 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index 307cb59a4889c4819af6032558aae53880ba9643..bd8e0d9b7f52cca7ea8a8ac01254913005992e57 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/math/fg_random.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index ac570225d545c03538f2f9a5e5733164d3a8f920..2af1f3e9c74c735df7f3ec182449d7ccf057408f 100644 (file)
@@ -67,7 +67,6 @@
 #include <simgear/constants.h>  // for VERSION
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/fg_geodesy.hxx>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 #include <simgear/math/fg_random.h>
 #include <simgear/misc/fgpath.hxx>
index ff4ed676ff30720b99a94260878c82c9b7442f9e..7dc778b30dff085338751ac68f5c5e5046403bff 100644 (file)
@@ -1,3 +1,6 @@
+// This should be ported to plib/sg before you try to compile it.  If
+// you do the port please send it to me. :-)
+
 #include <Math/mat3.h>
 #include <Include/fg_constants.h>
 
index 33880216dbedee63a0898387586012ee1f2cb34e..d5dfeef798d6da8fd2795781563cf30b8f2d9c81 100644 (file)
@@ -47,7 +47,6 @@
 #include <simgear/logstream.hxx>
 #include <simgear/constants.h>
 #include <simgear/fg_random.h>
-#include <simgear/mat3.h>
 #include <simgear/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index 64dec6c9dbe6b4cd9ee3261647edf4b645106400..6e9ca43e12659f687ec17ec3b8eac57fb6a3b38e 100644 (file)
@@ -46,7 +46,6 @@
 #include <simgear/logstream.hxx>
 #include <simgear/constants.h>
 #include <simgear/fg_random.h>
-#include <simgear/mat3.h>
 #include <simgear/polar3d.hxx>
 
 #include <Aircraft/aircraft.hxx>
index 0edbf5e0227810c6018039d5ab37c92989fff86f..48c41d7a5fe11be335dc51a3ddda72417a68c5de 100644 (file)
@@ -22,7 +22,6 @@
 
 
 #include <simgear/constants.h>
-#include <simgear/math/mat3.h>
 #include <simgear/math/point3d.hxx>
 
 #include <Scenery/tileentry.hxx>
@@ -98,8 +97,9 @@ int fgFRAGMENT::intersect( const Point3D& end0,
                           Point3D& result) const
 {
     FGTileEntry *t;
-    MAT3vec v1, v2, n, center;
-    double p1[3], p2[3], p3[3];
+    sgVec3 v1, v2, n, center;
+    sgVec3 p1, p2, p3;
+    sgVec3 temp;
     double x, y, z;  // temporary holding spot for result
     double a, b, c, d;
     double x0, y0, z0, x1, y1, z1, a1, b1, c1;
@@ -120,22 +120,28 @@ int fgFRAGMENT::intersect( const Point3D& end0,
        // printf(".");
 
        // get face vertex coordinates
-       center[0] = t->center.x();
-       center[1] = t->center.y();
-       center[2] = t->center.z();
+       sgSetVec3( center, t->center.x(), t->center.y(), t->center.z() );
 
-       MAT3_ADD_VEC(p1, t->nodes[(*current).n1], center);
-       MAT3_ADD_VEC(p2, t->nodes[(*current).n2], center);
-       MAT3_ADD_VEC(p3, t->nodes[(*current).n3], center);
+       sgSetVec3( temp, t->nodes[(*current).n1].x(), 
+                  t->nodes[(*current).n1].y(), t->nodes[(*current).n1].z() );
+       sgAddVec3( p1, temp, center );
+
+       sgSetVec3( temp, t->nodes[(*current).n2].x(), 
+                  t->nodes[(*current).n2].y(), t->nodes[(*current).n2].z() );
+       sgAddVec3( p2, temp, center );
+
+       sgSetVec3( temp, t->nodes[(*current).n3].x(), 
+                  t->nodes[(*current).n3].y(), t->nodes[(*current).n3].z() );
+       sgAddVec3( p3, temp, center );
 
        // printf("point 1 = %.2f %.2f %.2f\n", p1[0], p1[1], p1[2]);
        // printf("point 2 = %.2f %.2f %.2f\n", p2[0], p2[1], p2[2]);
        // printf("point 3 = %.2f %.2f %.2f\n", p3[0], p3[1], p3[2]);
 
        // calculate two edge vectors, and the face normal
-       MAT3_SUB_VEC(v1, p2, p1);
-       MAT3_SUB_VEC(v2, p3, p1);
-       MAT3cross_product(n, v1, v2);
+       sgSubVec3( v1, p2, p1 );
+       sgSubVec3( v2, p3, p1 );
+       sgVectorProductVec3( n, v1, v2 );
 
        // calculate the plane coefficients for the plane defined by
        // this face.  If n is the normal vector, n = (a, b, c) and p1
@@ -282,7 +288,7 @@ int fgFRAGMENT::intersect( const Point3D& end0,
            // all dimensions are really small so lets call it close
            // enough and return a successful match
            result = Point3D(x, y, z);
-           return(1);
+           return 1;
        }
 
        // check if intersection point is on the same side of p1 <-> p2 as p3
@@ -314,11 +320,11 @@ int fgFRAGMENT::intersect( const Point3D& end0,
 
        // printf( "intersection point = %.2f %.2f %.2f\n", x, y, z);
        result = Point3D(x, y, z);
-       return(1);
+       return 1;
     }
 
     // printf("\n");
 
-    return(0);
+    return 0;
 }
 
index 56a590b517efbaa75e002c2179436495609a8c00..4bd5b21a9bc9fd4fa66e9582506b6ec7fb6146e1 100644 (file)
@@ -46,7 +46,6 @@
 
 #include <simgear/constants.h>
 #include <simgear/debug/logstream.hxx>
-#include <simgear/math/mat3.h>
 #include <simgear/math/fg_geodesy.hxx>
 #include <simgear/math/fg_random.h>
 #include <simgear/math/point3d.hxx>
@@ -76,16 +75,15 @@ static double tex_coords[FG_MAX_NODES*3][3];
 
 // given three points defining a triangle, calculate the normal
 static void calc_normal(Point3D p1, Point3D p2, 
-                       Point3D p3, double normal[3])
+                       Point3D p3, sgVec3 normal)
 {
-    double v1[3], v2[3];
-    double temp;
+    sgVec3 v1, v2;
 
     v1[0] = p2[0] - p1[0]; v1[1] = p2[1] - p1[1]; v1[2] = p2[2] - p1[2];
     v2[0] = p3[0] - p1[0]; v2[1] = p3[1] - p1[1]; v2[2] = p3[2] - p1[2];
 
-    MAT3cross_product(normal, v1, v2);
-    MAT3_NORMALIZE_VEC(normal,temp);
+    sgVectorProductVec3( normal, v1, v2 );
+    sgNormalizeVec3( normal );
 
     // fgPrintf( FG_TERRAIN, FG_DEBUG, "  Normal = %.2f %.2f %.2f\n", 
     //           normal[0], normal[1], normal[2]);
@@ -152,7 +150,7 @@ ssgBranch *fgGenTile( const string& path, FGTileEntry *t) {
     // material
     FGMaterial m = fragment.material_ptr->get_m();
     double tex_width = m.get_xsize();
-    double tex_height = m.get_ysize();
+    // double tex_height = m.get_ysize();
 
     // set ssgState
     state = fragment.material_ptr->get_state();
@@ -273,7 +271,8 @@ ssgBranch *fgGenTile( const string& path, FGTileEntry *t) {
 ssgBranch *fgObjLoad( const string& path, FGTileEntry *t, const bool is_base) {
     fgFRAGMENT fragment;
     Point3D pp;
-    double approx_normal[3] /*, normal[3], scale = 0.0 */;
+    sgVec3 approx_normal;
+    // double normal[3], scale = 0.0;
     // double x, y, z, xmax, xmin, ymax, ymin, zmax, zmin;
     // GLfloat sgenparams[] = { 1.0, 0.0, 0.0, 0.0 };
     // GLint display_list = 0;
index f151c7d0f242ccf2ea2c5a39607d1342d51f50b9..6c1c0d63bffedc4ecff4bc5c93b299d8950e1ad5 100644 (file)
@@ -35,7 +35,6 @@
 #include <simgear/constants.h>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/fg_geodesy.hxx>
-#include <simgear/math/mat3.h>
 #include <simgear/math/point3d.hxx>
 #include <simgear/math/polar3d.hxx>
 #include <simgear/math/vector.hxx>
@@ -152,14 +151,14 @@ void FGTileMgr::load_tile( const FGBucket& b, int cache_index) {
 
 // Calculate shortest distance from point to line
 static double point_line_dist_squared( const Point3D& tc, const Point3D& vp, 
-                                      MAT3vec d )
+                                      sgVec3 d )
 {
-    MAT3vec p, p0;
+    sgVec3 p, p0;
 
-    p[0] = tc.x(); p[1] = tc.y(); p[2] = tc.z();
-    p0[0] = vp.x(); p0[1] = vp.y(); p0[2] = vp.z();
+    sgSetVec3( p, tc.x(), tc.y(), tc.z() );
+    sgSetVec3( p0, vp.x(), vp.y(), vp.z() );
 
-    return fgPointLineSquared(p, p0, d);
+    return sgPointLineDistSquared(p, p0, d);
 }
 
 
@@ -174,13 +173,11 @@ FGTileMgr::current_elev_new( const FGBucket& p ) {
     Point3D abs_view_pos = current_view.get_abs_view_pos();
     Point3D earth_center(0.0);
     Point3D result;
-    MAT3vec local_up;
+    sgVec3 local_up;
     double dist, lat_geod, alt, sea_level_r;
     int index;
 
-    local_up[0] = abs_view_pos.x();
-    local_up[1] = abs_view_pos.y();
-    local_up[2] = abs_view_pos.z();
+    sgSetVec3( local_up, abs_view_pos.x(), abs_view_pos.y(), abs_view_pos.z() );
 
     // Find current translation offset
     // fgBucketFind(lon * RAD_TO_DEG, lat * RAD_TO_DEG, &p);
@@ -272,7 +269,7 @@ FGTileMgr::current_elev( double lon, double lat, const Point3D& abs_view_pos ) {
     fgFRAGMENT *frag_ptr;
     Point3D earth_center(0.0);
     Point3D result;
-    MAT3vec local_up;
+    sgVec3 local_up;
     double dist, lat_geod, alt, sea_level_r;
     int index;
 
@@ -985,9 +982,9 @@ int FGTileMgr::update( void ) {
 
 static int
 inrange( const double radius, const Point3D& center, const Point3D& vp,
-        const MAT3vec up)
+        const sgVec3 up)
 {
-    MAT3vec u, u1, v;
+    sgVec3 u, u1, v;
     // double tmp;
        
     // u = p - p0
@@ -998,14 +995,14 @@ inrange( const double radius, const Point3D& center, const Point3D& vp,
     // calculate the projection, u1, of u along d.
     // u1 = ( dot_prod(u, d) / dot_prod(d, d) ) * d;
        
-    MAT3_SCALE_VEC(u1, up,
-                  (MAT3_DOT_PRODUCT(u, up) / MAT3_DOT_PRODUCT(up, up)) );
+    sgScaleVec3( u1, up,
+                (sgScalarProductVec3(u, up) / sgScalarProductVec3(up, up)) );
     
     // v = u - u1 = vector from closest point on line, p1, to the
     // original point, p.
-    MAT3_SUB_VEC(v, u, u1);
+    sgSubVec3( v, u, u1 );
        
-    return( FG_SQUARE(radius) >= MAT3_DOT_PRODUCT(v, v));
+    return( FG_SQUARE(radius) >= sgScalarProductVec3(v, v));
 }
 
 
index 875eb4347bf776b3acd9f73aaa7c4555e1ca6987..d8a23e1eaff87d736f850c19b1e4e8583524051c 100644 (file)
@@ -52,7 +52,6 @@ FG_USING_STD(string);
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/fg_geodesy.hxx>
 #include <simgear/math/interpolater.hxx>
-#include <simgear/math/mat3.h>
 #include <simgear/math/polar3d.hxx>
 #include <simgear/misc/fgpath.hxx>
 
index 5d1648e678c2e6e453bf61f7ef17ccf2e03eced0..2c64927c9421e783a2c645c3b9afc7cc47a40e19 100644 (file)
@@ -54,7 +54,6 @@
 #include <simgear/constants.h>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/fg_geodesy.hxx>
-#include <simgear/math/mat3.h>
 #include <simgear/math/point3d.hxx>
 #include <simgear/math/polar3d.hxx>
 #include <simgear/math/vector.hxx>
index 3ae598ca24c31bd738afafb615418bca3ac22a3b..07d943ca8fde4732dab89cac9eaa51ab0bed29cc 100644 (file)
@@ -53,7 +53,6 @@
 #include <simgear/constants.h>
 #include <simgear/debug/logstream.hxx>
 #include <simgear/math/fg_geodesy.hxx>
-#include <simgear/math/mat3.h>
 #include <simgear/math/point3d.hxx>
 #include <simgear/math/polar3d.hxx>
 #include <simgear/math/vector.hxx>