mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 12:28:02 +02:00
fix offset relative to endParent
This commit is contained in:
parent
5f570c1ba8
commit
88d6fe6a04
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ glm::vec3 Line3DOverlay::getEnd() const {
|
||||||
if (_endParentID != QUuid()) {
|
if (_endParentID != QUuid()) {
|
||||||
glm::vec3 localOffset = _direction * _length;
|
glm::vec3 localOffset = _direction * _length;
|
||||||
bool success;
|
bool success;
|
||||||
worldEnd = localToWorld(getLocalStart() + localOffset, _endParentID, _endParentJointIndex, success);
|
worldEnd = localToWorld(localOffset, _endParentID, _endParentJointIndex, success);
|
||||||
return worldEnd;
|
return worldEnd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue