mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-21 20:39:08 -06:00
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:
committed by
Alexander Bock
parent
e78121febc
commit
50ff2d96d2
@@ -364,8 +364,7 @@ unsigned int ErrorHistogramManager::brickToInnerNodeIndex(unsigned int brickInde
|
||||
unsigned int ErrorHistogramManager::innerNodeToBrickIndex(
|
||||
unsigned int innerNodeIndex) const
|
||||
{
|
||||
// @TODO(abock): innerNodeIndex is an unsigned int, so it will never be < 0
|
||||
if (innerNodeIndex < 0 || innerNodeIndex >= _numInnerNodes) {
|
||||
if (innerNodeIndex >= _numInnerNodes) {
|
||||
return std::numeric_limits<unsigned int>::max(); // Not an inner node
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user