Update GLM version

Correctly initialize all values as they are no longer default-initialized
This commit is contained in:
Alexander Bock
2020-02-10 00:09:31 +01:00
parent b96fa43b27
commit 24ce773da9
143 changed files with 499 additions and 569 deletions

View File

@@ -197,7 +197,7 @@ bool TransferFunction::createTexture(ghoul::opengl::Texture& ptr) {
for (int i = 0; i < _width ; ++i) {
const float position = static_cast<float>(i) / static_cast<float>(_width);
int count = 0;
glm::vec4 rgbFromEnvelopes(0.f, 0.f, 0.f, 0.f);
glm::vec4 rgbFromEnvelopes(0.f);
float alpha = 0.f;
for (const Envelope& env : _envelopes) {
if (env.isValueInEnvelope(position) && env.isEnvelopeValid()) {