mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-01 09:08:49 -06:00
Cleanup of gitignore file
Started work on fixing Rosetta
This commit is contained in:
@@ -255,7 +255,7 @@ void RenderableTrailTrajectory::update(const UpdateData& data) {
|
||||
// If only trail so far should be rendered, we need to find the corresponding time
|
||||
// in the array and only render it until then
|
||||
_primaryRenderInformation.first = 0;
|
||||
double t = (data.time.j2000Seconds() - _start) / (_end - _start);
|
||||
double t = std::max(0.0, (data.time.j2000Seconds() - _start) / (_end - _start));
|
||||
_primaryRenderInformation.count = std::min(
|
||||
static_cast<GLsizei>(ceil(_vertexArray.size() * t)),
|
||||
static_cast<GLsizei>(_vertexArray.size() - 1)
|
||||
|
||||
@@ -84,7 +84,7 @@ Fragment getFragment() {
|
||||
}
|
||||
|
||||
frag.color.a = 1.0;
|
||||
// frag.depth = vs_positionScreenSpace.w;
|
||||
frag.depth = 0.0;
|
||||
frag.depth = vs_positionScreenSpace.w;
|
||||
// frag.depth = 0.0;
|
||||
return frag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user