Cleanup for Spheres and PSC (#827)

* Fade fixes
  * Clean up RenderableSphere. Add orientation properties.
  * Sane defaults for Digital Universe
  * Clean up New Horizons related code
  * Add basic scene
  * Add ability to initialize rotation as quaternion and mat3
  * Adapt legacy code to new Renderable interface
This commit is contained in:
Emil Axelsson
2019-04-24 13:34:49 +02:00
committed by Alexander Bock
parent e78121febc
commit 50ff2d96d2
77 changed files with 667 additions and 2848 deletions
@@ -377,8 +377,7 @@ void RenderableModelProjection::update(const UpdateData& data) {
global::renderEngine.scene()->sceneGraphNode("Sun")->worldPosition() -
data.modelTransform.translation;
_sunPosition =
PowerScaledCoordinate::CreatePowerScaledCoordinate(p.x, p.y, p.z).vec3();
_sunPosition = static_cast<glm::vec3>(p);
}
void RenderableModelProjection::imageProjectGPU(