24 #ifndef _SkyX_ColorGradient_H_
25 #define _SkyX_ColorGradient_H_
41 typedef std::pair<Ogre::Vector3, Ogre::Real> ColorFrame;
54 inline void addCFrame(
const ColorFrame& CFrame)
56 CFrameVector.push_back(CFrame);
58 mMalFormed = !_checkBounds();
72 const Ogre::Vector3 getColor(
const Ogre::Real& p)
const;
78 bool _checkBounds()
const;
84 std::vector<ColorFrame> CFrameVector;
SkyX(Ogre::SceneManager *sm, Controller *c)
Contructor.
#define DllExport
Include external headers.
Definition: Prerequisites.h:45