Skip to content

Commit

Permalink
fix 3parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
ohgodhowdidthisgethere committed Feb 4, 2017
1 parent 4ceb5e5 commit e3d17d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/director.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ uint32_t Director::view_width() const

float Director::far_plane_distance() const
{
return 1.f + _system.draw_depth().draw_depth() * 256.f;
return _system.draw_depth().draw_depth() * 256.f;
}

float Director::eye_offset() const
Expand Down
4 changes: 2 additions & 2 deletions src/visual.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,9 @@ SuperParallelVisual::SuperParallelVisual(VisualControl& api)

for (uint32_t i = 0; i < 3; ++i) {
_images.push_back(api.get_image(i >= 2));
auto set = new ActionCycler{80, [&, i] { _images[i] = api.get_image(i >= 2); }};
auto set = new ActionCycler{16, [&, i] { _images[i] = api.get_image(i >= 2); }};
single.push_back(new ActionCycler{16});
progress.push_back(new SequenceCycler{{set, single.back()}});
progress.push_back(new SequenceCycler{{set, single.back(), new ActionCycler{64}}});
main_loops.push_back(new OffsetCycler{i * 32, progress.back()});
}

Expand Down

0 comments on commit e3d17d5

Please sign in to comment.