mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-25 21:48:57 -05:00
More Code Cleanup (#2192)
* Harmonizing ( and ) in function calls * static const -> constexpr * Fix compile issue * Unify shader tab size * Add _fs and _vs to shaders * Harmonize spacing
This commit is contained in:
@@ -72,10 +72,10 @@ documentation::Documentation TimeFrameInterval::Documentation() {
|
||||
}
|
||||
|
||||
bool TimeFrameInterval::isActive(const Time& time) const {
|
||||
if (_hasStart && time.j2000Seconds() < _start ) {
|
||||
if (_hasStart && time.j2000Seconds() < _start) {
|
||||
return false;
|
||||
}
|
||||
if (_hasEnd && time.j2000Seconds() >= _end ) {
|
||||
if (_hasEnd && time.j2000Seconds() >= _end) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user