22 #ifndef BLADERUNNER_LIGHT_H 23 #define BLADERUNNER_LIGHT_H 25 #include "bladerunner/matrix.h" 26 #include "bladerunner/color.h" 28 #include "common/stream.h" 48 int _animatedParameters;
55 float *_animationData;
71 float *_falloffStartPtr;
72 float *_falloffEndPtr;
73 float *_angleStartPtr;
83 void setupFrame(
int frame);
86 virtual void calculateColor(
Color *outColor,
Vector3 position)
const;
89 float calculateFalloutCoefficient(
Vector3 start,
Vector3 end,
float a3,
float a4)
const;
90 float attenuation(
float min,
float max,
float distance)
const;
95 void calculateColor(
Color *outColor,
Vector3 position)
const override;
100 void calculateColor(
Color *outColor,
Vector3 position)
const override;
104 void calculateColor(
Color *outColor,
Vector3 position)
const override;
108 void calculateColor(
Color *outColor,
Vector3 position)
const override;
113 void calculateColor(
Color *outColor,
Vector3 position)
const override;
Definition: algorithm.h:29
Definition: debugger.h:56
Definition: slice_renderer.h:45