Loading .gitignore +2 −4 Original line number Diff line number Diff line Loading @@ -50,8 +50,6 @@ ext/tbb *LUA_wrap.cxx # CMake build folders and IDE folders build/ build14/ build15/ build*/ .vs/ .vscode/ buildClang/ core/datastructures/imagemappinginformation.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ namespace campvis { if (! _textureToWorldTransformation.invert(_worldToTextureTransformation)) cgtAssert(false, "Could not invert texture-to-world matrix. That should not happen!"); _textureToWorldTransformationInvTransp = cgt::transpose(_worldToTextureTransformation); _worldToTextureTransformation = cgt::transpose(_textureToWorldTransformation); _worldToTextureTransformationInvTransp = cgt::transpose(_textureToWorldTransformation); _voxelToWorldTransformation = _customTransformation * cgt::mat4::createTranslation(_offset) * cgt::mat4::createScale(_voxelSize); if (! _voxelToWorldTransformation.invert(_worldToVoxelTransformation)) Loading core/datastructures/imagerepresentationgl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ namespace campvis { _texture->bind(); _texture->uploadTexture(reinterpret_cast<GLubyte*>(wtp._pointer), wtp.getGlFormat(), wtp.getGlDataType()); _texture->setWrapping(cgt::Texture::CLAMP_TO_EDGE); _texture->setWrapping(cgt::Texture::CLAMP_TO_BORDER); cgt::TextureUnit::setZeroUnit(); LGL_ERROR; Loading Loading
.gitignore +2 −4 Original line number Diff line number Diff line Loading @@ -50,8 +50,6 @@ ext/tbb *LUA_wrap.cxx # CMake build folders and IDE folders build/ build14/ build15/ build*/ .vs/ .vscode/ buildClang/
core/datastructures/imagemappinginformation.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -67,7 +67,7 @@ namespace campvis { if (! _textureToWorldTransformation.invert(_worldToTextureTransformation)) cgtAssert(false, "Could not invert texture-to-world matrix. That should not happen!"); _textureToWorldTransformationInvTransp = cgt::transpose(_worldToTextureTransformation); _worldToTextureTransformation = cgt::transpose(_textureToWorldTransformation); _worldToTextureTransformationInvTransp = cgt::transpose(_textureToWorldTransformation); _voxelToWorldTransformation = _customTransformation * cgt::mat4::createTranslation(_offset) * cgt::mat4::createScale(_voxelSize); if (! _voxelToWorldTransformation.invert(_worldToVoxelTransformation)) Loading
core/datastructures/imagerepresentationgl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -100,7 +100,7 @@ namespace campvis { _texture->bind(); _texture->uploadTexture(reinterpret_cast<GLubyte*>(wtp._pointer), wtp.getGlFormat(), wtp.getGlDataType()); _texture->setWrapping(cgt::Texture::CLAMP_TO_EDGE); _texture->setWrapping(cgt::Texture::CLAMP_TO_BORDER); cgt::TextureUnit::setZeroUnit(); LGL_ERROR; Loading