]> git.mxchange.org Git - flightgear.git/blobdiff - Main/GLUTmain.cxx
C++-ifying.
[flightgear.git] / Main / GLUTmain.cxx
index ac622dda1607f7b360ff469fb721b2734d1e881f..ee157faffde093a5fec25e8967becc56350c28d1 100644 (file)
@@ -65,7 +65,7 @@
 #include <Debug/fg_debug.h>
 #include <GUI/gui.h>
 #include <Joystick/joystick.h>
-#include <Math/fg_geodesy.h>
+#include <Math/fg_geodesy.hxx>
 #include <Math/mat3.h>
 #include <Math/polar3d.hxx>
 #include <PUI/pu.h>
@@ -300,7 +300,7 @@ static void fgRenderFrame( void ) {
        // setup transformation for drawing astronomical objects
        xglPushMatrix();
        // Translate to view position
-       xglTranslatef( v->view_pos.x, v->view_pos.y, v->view_pos.z );
+       xglTranslatef( v->view_pos.x(), v->view_pos.y(), v->view_pos.z() );
        // Rotate based on gst (sidereal time)
        // note: constant should be 15.041085, Curt thought it was 15
        angle = t->gst * 15.041085;
@@ -894,6 +894,12 @@ int main( int argc, char **argv ) {
 
 
 // $Log$
+// Revision 1.58  1998/10/16 23:27:52  curt
+// C++-ifying.
+//
+// Revision 1.57  1998/10/16 00:54:00  curt
+// Converted to Point3D class.
+//
 // Revision 1.56  1998/10/02 12:46:47  curt
 // Added an "auto throttle"
 //