diff --git a/include/openspace/rendering/renderable.h b/include/openspace/rendering/renderable.h index 71bd6f3c2e..9ca5adfbd7 100644 --- a/include/openspace/rendering/renderable.h +++ b/include/openspace/rendering/renderable.h @@ -160,7 +160,9 @@ protected: * \return the resulting model transformation matrix in double precision */ glm::dmat4 calcModelTransform(const RenderData& data, - const AlternativeTransform& altTransform = {}) const; + const AlternativeTransform& altTransform = { + std::nullopt, std::nullopt, std::nullopt + }) const; /** * Calculates the model view transformation matrix with the given data and returns it @@ -204,7 +206,9 @@ protected: * model view projection transformation matrices */ std::tuple calcAllTransforms( - const RenderData& data, const AlternativeTransform& altModelTransform = {}) const; + const RenderData& data, const AlternativeTransform& altModelTransform = { + std::nullopt, std::nullopt, std::nullopt + }) const; private: double _boundingSphere = 0.0;