should be ...

const glm::vec3& getAverageEyePosition() const... 

and should be inline, right?

If it's not a pure getter, and instead is calculating, then it should be renamed to caclulateAverageEyePosition()