mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 07:53:08 +02:00
Remove unused variable
This commit is contained in:
parent
7d34a9233b
commit
d834a05053
1 changed files with 0 additions and 1 deletions
|
@ -2761,7 +2761,6 @@ void Rig::initFlow(bool isActive) {
|
||||||
float Rig::getUnscaledEyeHeight() const {
|
float Rig::getUnscaledEyeHeight() const {
|
||||||
// Normally the model offset transform will contain the avatar scale factor, we explicitly remove it here.
|
// Normally the model offset transform will contain the avatar scale factor, we explicitly remove it here.
|
||||||
AnimPose modelOffsetWithoutAvatarScale(glm::vec3(1.0f), getModelOffsetPose().rot(), getModelOffsetPose().trans());
|
AnimPose modelOffsetWithoutAvatarScale(glm::vec3(1.0f), getModelOffsetPose().rot(), getModelOffsetPose().trans());
|
||||||
AnimPose geomToRigWithoutAvatarScale = modelOffsetWithoutAvatarScale * getGeometryOffsetPose();
|
|
||||||
|
|
||||||
// Factor to scale distances in the geometry frame into the unscaled rig frame.
|
// Factor to scale distances in the geometry frame into the unscaled rig frame.
|
||||||
float scaleFactor = GetScaleFactorGeometryToUnscaledRig();
|
float scaleFactor = GetScaleFactorGeometryToUnscaledRig();
|
||||||
|
|
Loading…
Reference in a new issue