Skip to content
Snippets Groups Projects
Select Git revision
  • 3d9d9818ed1eee9286f1b53ecf145437757da03c
  • master default
  • mingw_gcc44
  • release_ABP1_012
  • release_ABP1_008
  • release_ABP1_006
  • release_ABP1_007
  • release_ABP1_005
  • release_ABP1_004
  • release_ABP1_003
  • pre_release_0.15
  • release_ABP1_001
  • release_ABP1_002
  • pre_release_0.13
  • pre_release_0.14
  • pre_release_0.11
  • pre_release_0.12
  • pre_release_0.10
  • pre_release_0.09
  • pre_release_0.08
20 results

WindowManager.h

Blame
  • Forked from einsteinathome / graphicsframework
    Source project has a limited visibility.
    • Oliver Bock's avatar
      3d9d9818
      Added proper timing · 3d9d9818
      Oliver Bock authored
      * For sphere rotation
      * For observatory positioning
      
      Note: the original code seems to have a bug which explains a slight discrepancy between this new and the original visualisation.
      In the original code gmt_dtime() is used to get the GMT time, but this function is a mere #define of dtime() under unix, hence any
      difference of dtime() and gmt_dtime() will result in 0 instead of the real UTC/GMT offset.
      
      Note: dtime() returns local time...
      3d9d9818
      History
      Added proper timing
      Oliver Bock authored
      * For sphere rotation
      * For observatory positioning
      
      Note: the original code seems to have a bug which explains a slight discrepancy between this new and the original visualisation.
      In the original code gmt_dtime() is used to get the GMT time, but this function is a mere #define of dtime() under unix, hence any
      difference of dtime() and gmt_dtime() will result in 0 instead of the real UTC/GMT offset.
      
      Note: dtime() returns local time...
    Resource.h 401 B
    #ifndef RESOURCE_H_
    #define RESOURCE_H_
    
    #include <string>
    #include <vector>
    
    using namespace std;
    
    class Resource
    {
    public:
    	Resource(const string identifier, const vector<unsigned char>& data);
    	virtual ~Resource();
    	
    	string identifier() const;
    	const vector<unsigned char> * data() const;
    	
    private:
    	string m_Identifier;
    	const auto_ptr<vector<unsigned char> > m_Data;
    };
    
    #endif /*RESOURCE_H_*/