27 lines
671 B
C++
27 lines
671 B
C++
#ifndef BASECLOUDLAYERRENDERER_H
|
|
#define BASECLOUDLAYERRENDERER_H
|
|
|
|
#include "software_global.h"
|
|
|
|
namespace paysages {
|
|
namespace software {
|
|
|
|
class BaseCloudLayerRenderer
|
|
{
|
|
public:
|
|
BaseCloudLayerRenderer(SoftwareRenderer* parent);
|
|
virtual ~BaseCloudLayerRenderer();
|
|
|
|
virtual bool optimizeSearchLimits(BaseCloudsModel *model, Vector3 *start, Vector3 *end);
|
|
|
|
virtual Color getColor(BaseCloudsModel *model, const Vector3 &eye, const Vector3 &location);
|
|
virtual bool alterLight(BaseCloudsModel *model, LightComponent* light, const Vector3 &eye, const Vector3 &location);
|
|
|
|
protected:
|
|
SoftwareRenderer* parent;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif // BASECLOUDLAYERRENDERER_H
|