Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
mag-core
Commits
5d0c6a44
Verified
Commit
5d0c6a44
authored
May 29, 2022
by
Tobias WEBER
Browse files
missing plot
parent
03d033aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
tools/magstructfact/magstructfact.cpp
View file @
5d0c6a44
...
...
@@ -577,6 +577,7 @@ MagStructFactDlg::MagStructFactDlg(QWidget* pParent) : QDialog{pParent},
m_plotSC
=
std
::
make_shared
<
tl2
::
GlPlot
>
(
this
);
m_plotSC
->
setFormat
(
tl2
::
gl_format
(
1
,
_GL_MAJ_VER
,
_GL_MIN_VER
,
8
,
m_plotSC
->
format
()));
m_plotSC
->
GetRenderer
()
->
SetRestrictCamTheta
(
false
);
m_plotSC
->
GetRenderer
()
->
SetLight
(
0
,
tl2
::
create
<
t_vec3_gl
>
({
5
,
5
,
5
}));
m_plotSC
->
GetRenderer
()
->
SetLight
(
1
,
tl2
::
create
<
t_vec3_gl
>
({
-
5
,
-
5
,
-
5
}));
m_plotSC
->
GetRenderer
()
->
SetCoordMax
(
1.
);
...
...
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