Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
glow-extras
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Glow
glow-extras
Merge requests
!33
Add screenshot function to Viewer
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add screenshot function to Viewer
feature/jk-wip
into
develop
Overview
0
Commits
5
Pipelines
0
Changes
4
Merged
Jonathan Kunstwald
requested to merge
feature/jk-wip
into
develop
5 years ago
Overview
0
Commits
5
Pipelines
0
Changes
4
Expand
Take screenshots with F2, or a menu entry
Currently does not render UI due to GlfwApps architecture, might not be desirable anyway
Requires
glow !35
to correctly output non-mirrored screenshots
Adjust viewer scrolling speed based on scene scale
Add "Quit" and "Quit All" option to viewer menu
Edited
5 years ago
by
Jonathan Kunstwald
0
0
Merge request reports
Compare
develop
version 2
6de7cf40
5 years ago
version 1
dab887f7
5 years ago
develop (base)
and
latest version
latest version
03a750d5
5 commits,
5 years ago
version 2
6de7cf40
4 commits,
5 years ago
version 1
dab887f7
2 commits,
5 years ago
4 files
+
38
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
camera/glow-extras/camera/controllers/TargetOrbitController.cc
+
1
−
1
Options
@@ -18,6 +18,6 @@ void glow::camera::TargetOrbitController::update(float, const glow::input::Input
auto
const
&
scrollY
=
input
.
getScrollDelta
().
y
;
if
(
std
::
abs
(
scrollY
)
>
0.
f
)
{
camera
.
handle
.
addTargetDistance
(
-
scrollY
*
0.1
f
);
camera
.
handle
.
addTargetDistance
(
-
scrollY
*
mCameraScrollingSpeed
);
}
}
Loading