mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Clang compile fixes
This commit is contained in:
@@ -225,7 +225,7 @@ void RenderableFieldlines::render(const RenderData& data) {
|
||||
_program->setUniform("modelViewProjection", data.camera.viewProjectionMatrix());
|
||||
_program->setUniform("modelTransform", glm::mat4(1.0));
|
||||
_program->setUniform("cameraViewDir", data.camera.viewDirection());
|
||||
setPscUniforms(_program.get(), &data.camera, data.position);
|
||||
setPscUniforms(*_program, data.camera, data.position);
|
||||
|
||||
_program->setUniform("classification", _classification);
|
||||
if (!_classification)
|
||||
|
||||
@@ -80,7 +80,7 @@ public:
|
||||
bool isReady() const override;
|
||||
|
||||
virtual void update(const UpdateData& data) override;
|
||||
virtual void RenderableMultiresVolume::render(const RenderData& data, RendererTasks& tasks);
|
||||
virtual void render(const RenderData& data, RendererTasks& tasks);
|
||||
//virtual void preResolve(ghoul::opengl::ProgramObject* program) override;
|
||||
//virtual std::string getHeaderPath() override;
|
||||
//virtual std::string getHelperPath() override;
|
||||
|
||||
@@ -22,16 +22,18 @@
|
||||
* OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
|
||||
****************************************************************************************/
|
||||
|
||||
#include <sgct.h>
|
||||
//#include <sgct.h>
|
||||
#include <modules/multiresvolume/rendering/tsp.h>
|
||||
|
||||
// ghoul
|
||||
#include <ghoul/filesystem/filesystem.h>
|
||||
#include <ghoul/filesystem/cachemanager.h>
|
||||
#include <ghoul/logging/logmanager.h>
|
||||
#include <ghoul/glm.h>
|
||||
|
||||
// std
|
||||
#include <algorithm>
|
||||
#include <math.h>
|
||||
#include <queue>
|
||||
|
||||
namespace {
|
||||
|
||||
Reference in New Issue
Block a user