Closed paroj closed 8 years ago
Original comment by patstew (Bitbucket: patstew, GitHub: patstew):
You need to add
#!c++
typedef std::pair<float, float> MaxIntensityData;
typedef std::vector<MaxIntensityData> MaxIntensityVector;
typedef std::pair<glm::vec4, float> LightVectorData;
typedef std::vector<LightVectorData> LightVector;
float distance(const glm::vec3 &lhs, const glm::vec3 &rhs);
glm::vec4 GetValue(const LightVectorData &data);
float GetTime(const LightVectorData &data);
float GetValue(const MaxIntensityData &data);
float GetTime(const MaxIntensityData &data);
above
#!c++
#include "../framework/Interpolators.h"
in Lights.h/LightEnv.h
Originally reported by: chrisandrewca (Bitbucket: chrisandrewca, GitHub: chrisandrewca)
Tried with gcc 4.7.2-5 on debian and clang/clang++. Probably something on my end so I'll be trying to figure it out. The source is from the current trunk.