moss-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Moss-devel] CVS: moss/3Dsia/client/3Dcf/include World.h,1.4,1.5


From: Manfred Morgner <address@hidden>
Subject: [Moss-devel] CVS: moss/3Dsia/client/3Dcf/include World.h,1.4,1.5
Date: Sun, 10 Nov 2002 11:38:17 -0500

Update of /cvsroot/moss/moss/3Dsia/client/3Dcf/include
In directory subversions:/tmp/cvs-serv6760/include

Modified Files:
        World.h 
Log Message:
Reduced the CPU load by reactivating usleep() in the Glut-Idle-Callback


Index: World.h
===================================================================
RCS file: /cvsroot/moss/moss/3Dsia/client/3Dcf/include/World.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** World.h     10 Nov 2002 14:46:43 -0000      1.4
--- World.h     10 Nov 2002 16:38:15 -0000      1.5
***************
*** 36,43 ****
  #define __WORLD_H
  
! #include <GL/gl.h>
! #include <GL/glu.h>
  #include <GL/glut.h>
! #include "KeyboardMsg.h"
  
  #define ACSIZE  8
--- 36,43 ----
  #define __WORLD_H
  
! //#include <GL/gl.h>
! //#include <GL/glu.h>
  #include <GL/glut.h>
! //#include "KeyboardMsg.h"
  
  #define ACSIZE  8
***************
*** 50,62 ****
    protected:
      /// GLUT Window handle
!     int      m_nWindow;
      
!     int      m_nWidth;
!     int      m_nHeight;
!     bool     m_bFullScreen;
      
!     double   m_dXrot;
!     double   m_dYrot;
!     double   m_dZrot;
      
      /// the position of the base light
--- 50,62 ----
    protected:
      /// GLUT Window handle
!     int    m_nWindow;
      
!     int    m_nWidth;
!     int    m_nHeight;
!     bool   m_bFullScreen;
      
!     double m_dXrot;
!     double m_dYrot;
!     double m_dZrot;
      
      /// the position of the base light





reply via email to

[Prev in Thread] Current Thread [Next in Thread]