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
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
c88c7a2f
Commit
c88c7a2f
authored
Oct 12, 2015
by
reichenbach
Browse files
[FIX] forgot to calculate the inverse
parent
5b11d645
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/core/dataHandler/WDataTexture3D.cpp
src/core/dataHandler/WDataTexture3D.cpp
+1
-1
No files found.
src/core/dataHandler/WDataTexture3D.cpp
View file @
c88c7a2f
...
...
@@ -68,7 +68,7 @@ WDataTexture3D::WDataTexture3D( boost::shared_ptr< WValueSetBase > valueSet, boo
WMatrix4d
const
m
=
grid
->
getTransform
();
// implicit cast
Eigen
::
Matrix4d
em
=
m
;
transformation
()
->
set
(
WMatrix4d
(
em
)
*
scale
*
offset
);
transformation
()
->
set
(
WMatrix4d
(
em
.
inverse
()
)
*
scale
*
offset
);
// set the size
WGETexture3D
::
initTextureSize
(
this
,
grid
->
getNbCoordsX
(),
grid
->
getNbCoordsY
(),
grid
->
getNbCoordsZ
()
);
...
...
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