Skip to content

Commit

Permalink
Merge pull request #14 from unibas-gravis/bug_fix_findCenterWithNoseW…
Browse files Browse the repository at this point in the history
…ings

removed bug in helpers.scala that caused a compilation error
  • Loading branch information
BernhardEgger authored May 2, 2018
2 parents 2c0c886 + e1b2078 commit 5aff096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/faces/utils/Helpers.scala
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ case class Helpers(cfg: FacesSettings)(implicit rnd: Random) {
leftNoseWingId <- model.landmarkPointId("left.nose.wing.tip")
rightNoseWingId <- model.landmarkPointId("right.nose.wing.tip")
leftNoseWing3D <- Some(model.instanceAtPoint(rps.momo.coefficients,leftNoseWingId)._1)
rightNoseWing3D = Some(model.instanceAtPoint(rps.momo.coefficients,rightNoseWingId)._1)
rightNoseWing3D <- Some(model.instanceAtPoint(rps.momo.coefficients,rightNoseWingId)._1)
centerPoint3D <- Some(leftNoseWing3D + (rightNoseWing3D - leftNoseWing3D) * 0.5)
pt <- Some(rps.renderTransform(centerPoint3D))
} yield Point(pt.x,pt.y)
Expand Down

0 comments on commit 5aff096

Please # to comment.