Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Frédéric Larue
CommonGUI
Commits
f09fad9f
Commit
f09fad9f
authored
Mar 18, 2019
by
Frédéric Larue
Browse files
Slots added to GLViewer to force the update of focal, projection matrix or view matrix.
parent
0722433f
Changes
1
Hide whitespace changes
Inline
Side-by-side
GLViewer/GLViewer.h
View file @
f09fad9f
...
...
@@ -378,6 +378,10 @@ signals:
| QT slot(s) |
\************/
public
slots
:
inline
void
mustUpdateFocal
()
{
m_MustUpdateFocal
=
true
;
}
inline
void
mustUpdateProjectionMatrix
()
{
m_MustUpdateProjectionMatrix
=
true
;
}
inline
void
mustUpdateViewMatrix
()
{
m_MustUpdateViewMatrix
=
true
;
}
inline
void
emitScreenSpaceTranslation
(
const
QVector2D
&
tr
)
{
emit
screenSpaceTranslation
(
tr
);
}
inline
void
emitViewRotationMatrixUpdated
(
const
QMatrix4x4
&
r
)
{
emit
viewRotationMatrixUpdated
(
r
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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