mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 14:53:01 +02:00
fix coding standard issue and comment
This commit is contained in:
parent
32b56a4bf7
commit
670df7e443
1 changed files with 3 additions and 2 deletions
|
@ -99,9 +99,10 @@ void GLBackend::TransformStageState::preUpdate(size_t commandIndex, const Stereo
|
||||||
_model.getMatrix(_object._model);
|
_model.getMatrix(_object._model);
|
||||||
|
|
||||||
// FIXME - we don't want to be using glm::inverse() here but it fixes the flickering issue we are
|
// FIXME - we don't want to be using glm::inverse() here but it fixes the flickering issue we are
|
||||||
// seeing with slightly physical objects.
|
// seeing with planky blocks in toybox. Our implementation of getInverseMatrix() is buggy in cases
|
||||||
|
// of non-uniform scale. We need to fix that. In the mean time, glm::inverse() works.
|
||||||
//_model.getInverseMatrix(_object._modelInverse);
|
//_model.getInverseMatrix(_object._modelInverse);
|
||||||
_object._modelInverse =glm::inverse(_object._model);
|
_object._modelInverse = glm::inverse(_object._model);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_invalidView || _invalidProj || _invalidViewport) {
|
if (_invalidView || _invalidProj || _invalidViewport) {
|
||||||
|
|
Loading…
Reference in a new issue