Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Thomas Pitiot
CGoGN
Commits
ca166e89
Commit
ca166e89
authored
Oct 05, 2012
by
Sylvain Thery
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
frame mapniplator minor change
parent
84dbb3d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/Utils/frameManipulator.cpp
src/Utils/frameManipulator.cpp
+3
-3
No files found.
src/Utils/frameManipulator.cpp
View file @
ca166e89
...
...
@@ -156,8 +156,8 @@ float FrameManipulator::getSize()
void
FrameManipulator
::
draw
()
{
glm
::
mat4
store
=
Utils
::
GLSLShader
::
current
Transfo
();
Utils
::
GLSLShader
::
current
Transfo
(
)
*=
transfoRenderFrame
();
Utils
::
GLSLShader
::
push
Transfo
();
Utils
::
GLSLShader
::
apply
Transfo
(
transfoRenderFrame
()
)
;
Utils
::
GLSLShader
::
updateCurrentMatrices
();
glPushAttrib
(
GL_LINE_BIT
);
...
...
@@ -299,7 +299,7 @@ void FrameManipulator::draw()
m_shader
->
disableVertexAttribs
();
glPopAttrib
();
Utils
::
GLSLShader
::
current
Transfo
()
=
store
;
Utils
::
GLSLShader
::
pop
Transfo
();
Utils
::
GLSLShader
::
updateCurrentMatrices
();
}
...
...
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