roberthein / Ease

It's magic.
MIT License
1.26k stars 41 forks source link

compile error in Example 3D (Easy3DSceneKit/GameViewController.swift) #3

Closed lingolab2 closed 5 years ago

lingolab2 commented 5 years ago

Noticed a compile-error: line 69: Easy3DSceneKit/GameViewController.swift Extra argument 'damping' in call

ease.addSpring(tension: tension, damping: damping, mass: mass) { point, _ in childNode.runAction(SCNAction.rotateTo(x: point.y / 35, y: point.x / 250, z: 0, duration: 0)) }.add(to: &disposal)

similar error in Example project as well.

roberthein commented 5 years ago

You are absolutely right @lingolab2! I broke this with the latest update, but it's fixed now! Thanks for noticing! 🤗