Ignore:
Timestamp:
09/20/08 23:35:20 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/SkyPreetham.h

    r2958 r2960  
    33 
    44#include "glInterface.h" 
    5  
     5#include "common.h" 
    66#include <Cg/cg.h> 
    77#include <Cg/cgGL.h> 
     
    2222        virtual ~SkyPreetham(); 
    2323 
    24         void Compute(const CHCDemoEngine::Vector3 &sunDir, CHCDemoEngine::Camera *camera, CHCDemoEngine::RenderState *state); 
     24        void RenderSkyDome(const CHCDemoEngine::Vector3 &sunDir, CHCDemoEngine::Camera *camera, CHCDemoEngine::RenderState *state); 
    2525 
    2626        static void Init(CGcontext context); 
     27 
     28        void ComputeFactors(const CHCDemoEngine::Vector3 &sunDir,  
     29                                CHCDemoEngine::Vector3 &zenithColor,  
     30                                                std::vector<CHCDemoEngine::Vector3> &ABCDE,  
     31                                                std::pair<float, float> &sunThetha) const; 
     32 
     33        void ComputeSunColor(const CHCDemoEngine::Vector3 &sunDir, CHCDemoEngine::Vector3 &ambient, CHCDemoEngine::Vector3 &diffuse) const; 
     34 
    2735 
    2836protected: 
Note: See TracChangeset for help on using the changeset viewer.