22 #ifndef BLADERUNNER_FOG_H 23 #define BLADERUNNER_FOG_H 25 #include "bladerunner/color.h" 26 #include "bladerunner/matrix.h" 44 int _animatedParameters;
49 float *_animationData;
70 virtual void calculateCoeficient(
Vector3 position,
Vector3 viewPosition,
float *coeficient) = 0;
73 void setupFrame(
int frame);
89 void calculateCoeficient(
Vector3 position,
Vector3 viewPosition,
float *coeficient)
override;
94 float _tan_coneAngle_sq;
98 FogCone():_tan_coneAngle_sq(0.0f), _cos_coneAngle(1.0f) {};
101 void calculateCoeficient(
Vector3 position,
Vector3 viewPosition,
float *coeficient)
override;
112 void calculateCoeficient(
Vector3 position,
Vector3 viewPosition,
float *coeficient)
override;
Definition: set_effects.h:33
Definition: algorithm.h:29
Definition: debugger.h:56