Coding style cleanup

This commit is contained in:
Alexander Bock
2020-02-14 19:37:06 +01:00
parent 166eee8b28
commit 5e29145395
119 changed files with 643 additions and 348 deletions
@@ -452,7 +452,8 @@ void RenderableTimeVaryingVolume::update(const UpdateData&) {
glm::dmat4 scaleMatrix = glm::scale(glm::dmat4(1.0), scale);
modelTransform = modelTransform * scaleMatrix;
_raycaster->setModelTransform(glm::mat4(modelTransform));
} else {
}
else {
// The diameter is two times the maximum radius.
// No translation: the sphere is always centered in (0, 0, 0)
_raycaster->setModelTransform(
@@ -463,7 +464,8 @@ void RenderableTimeVaryingVolume::update(const UpdateData&) {
);
}
_raycaster->setVolumeTexture(t->texture);
} else {
}
else {
_raycaster->setVolumeTexture(nullptr);
}
_raycaster->setStepSize(_stepSize);