mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 15:49:33 +02:00
removed white space
This commit is contained in:
parent
be6fadbc2d
commit
8cf59783d1
1 changed files with 2 additions and 2 deletions
|
@ -3124,7 +3124,7 @@ static bool withinBaseOfSupport(glm::vec3 position) {
|
||||||
|
|
||||||
bool withinFrontBase = isInsideLine(userScale * frontLeft, userScale * frontRight, position);
|
bool withinFrontBase = isInsideLine(userScale * frontLeft, userScale * frontRight, position);
|
||||||
bool withinBackBase = isInsideLine(userScale * backRight, userScale * backLeft, position);
|
bool withinBackBase = isInsideLine(userScale * backRight, userScale * backLeft, position);
|
||||||
bool withinLateralBase = (isInsideLine(userScale * frontRight, userScale * backRight, position) &&
|
bool withinLateralBase = (isInsideLine(userScale * frontRight, userScale * backRight, position) &&
|
||||||
isInsideLine(userScale * backLeft, userScale * frontLeft, position));
|
isInsideLine(userScale * backLeft, userScale * frontLeft, position));
|
||||||
return (withinFrontBase && withinBackBase && withinLateralBase);
|
return (withinFrontBase && withinBackBase && withinLateralBase);
|
||||||
}
|
}
|
||||||
|
@ -3363,7 +3363,7 @@ void MyAvatar::FollowHelper::prePhysicsUpdate(MyAvatar& myAvatar, const glm::mat
|
||||||
qCDebug(interfaceapp) << "head within base " << withinBaseOfSupport(temp);
|
qCDebug(interfaceapp) << "head within base " << withinBaseOfSupport(temp);
|
||||||
qCDebug(interfaceapp) << "force activate horizontal " << getForceActivateHorizontal();
|
qCDebug(interfaceapp) << "force activate horizontal " << getForceActivateHorizontal();
|
||||||
qCDebug(interfaceapp) << "is active horizontal " << isActive(Horizontal);
|
qCDebug(interfaceapp) << "is active horizontal " << isActive(Horizontal);
|
||||||
if (!isActive(Horizontal) && (getForceActivateHorizontal() ||
|
if (!isActive(Horizontal) && (getForceActivateHorizontal() ||
|
||||||
!withinBaseOfSupport(temp))) {
|
!withinBaseOfSupport(temp))) {
|
||||||
qCDebug(interfaceapp) << "----------------------------------------over the base of support";
|
qCDebug(interfaceapp) << "----------------------------------------over the base of support";
|
||||||
activate(Horizontal);
|
activate(Horizontal);
|
||||||
|
|
Loading…
Reference in a new issue