Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
acgl
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ACGL
acgl
Commits
d79f6ffa
Commit
d79f6ffa
authored
Aug 07, 2014
by
Robert Menzel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added recenter pose function in Rift controller
parent
5e5b9bf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
cmake
cmake
+1
-1
include/ACGL/HardwareSupport/SimpleRiftController.hh
include/ACGL/HardwareSupport/SimpleRiftController.hh
+3
-0
No files found.
cmake
@
c4eead9b
Subproject commit
a0eb0dda91ce5d621d47de52bcecdd494b00e353
Subproject commit
c4eead9bcb430fed3e99ee0df0f2b06559df5db4
include/ACGL/HardwareSupport/SimpleRiftController.hh
View file @
d79f6ffa
...
...
@@ -270,6 +270,9 @@ namespace ACGL{
bool
getSuccessfulConnected
()
{
return
(
mHMD
!=
NULL
);
}
// recenter translation and yaw:
void
recenterPose
()
{
ovrHmd_RecenterPose
(
mHMD
);
}
private:
ACGL
::
Scene
::
SharedOculusRiftCamera
mCamera
;
ACGL
::
Scene
::
SharedGenericCamera
mNormalCamera
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment