plumageRender/src/render/IrradiancePushBlock.h

23 lines
477 B
C++

#pragma once
#include "RenderPushBlock.h"
#include <math.h>
class IrradiancePushBlock : public RenderPushBlock
{
public:
IrradiancePushBlock();
~IrradiancePushBlock();
// Getter methods
float getDeltaPhi() const;
float getDeltaTheta() const;
// Setter methods
void setDeltaPhi(float value);
void setDeltaTheta(float value);
private:
float deltaPhi = (2.0f * float(M_PI)) / 180.0f;
float deltaTheta = (0.5f * float(M_PI)) / 64.0f;
};