mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-27 22:40:41 -05:00
OS X now doesn't crash for volumes
- Fixed a few warnings
This commit is contained in:
@@ -218,7 +218,7 @@ void RenderableFieldlines::render(const RenderData& data) {
|
||||
|
||||
glm::mat4 transform = data.camera.viewProjectionMatrix();
|
||||
glm::mat4 camTransform = data.camera.viewRotationMatrix();
|
||||
psc relative = data.position - data.camera.position();
|
||||
//psc relative = data.position - data.camera.position();
|
||||
|
||||
transform = transform*camTransform;
|
||||
transform = glm::mat4(1.0);
|
||||
@@ -315,7 +315,10 @@ std::vector<std::vector<LinePoint> > RenderableFieldlines::getFieldlinesData(std
|
||||
// ------ CLASSIFICATION & COLOR -----------
|
||||
hintsDictionary.getValue("Color", fieldlineColor);
|
||||
hintsDictionary.getValue("Classification", classification);
|
||||
}
|
||||
} else {
|
||||
// model unitialized!
|
||||
assert(false);
|
||||
}
|
||||
|
||||
KameleonWrapper kw(filename, model);
|
||||
if (lorentz) {
|
||||
|
||||
Reference in New Issue
Block a user