Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ACGL
acgl
Commits
c606506d
Commit
c606506d
authored
Jul 12, 2013
by
Robert Menzel
Browse files
hotfix for camera bug
parent
1336ee09
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ACGL/Scene/HMDCamera.cc
View file @
c606506d
...
@@ -35,7 +35,8 @@ void HMDCamera::setNeckToEyeHorizontalDistance( float _f )
...
@@ -35,7 +35,8 @@ void HMDCamera::setNeckToEyeHorizontalDistance( float _f )
void
HMDCamera
::
setHMDRotation
(
const
glm
::
mat3
&
_rotation
)
void
HMDCamera
::
setHMDRotation
(
const
glm
::
mat3
&
_rotation
)
{
{
mHMDRotation
=
glm
::
mat4
(
_rotation
);
//mHMDRotation = glm::mat4( _rotation );
GenericCamera
::
setRotationMatrix
(
_rotation
);
}
}
...
...
Write
Preview
Supports
Markdown
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