diff --git a/examples/index.html b/examples/index.html index 0bad5cf..f5dc16d 100644 --- a/examples/index.html +++ b/examples/index.html @@ -22,10 +22,10 @@ skinUrl: "./1_8_texturemap_redux.png" }); - let control = new skinview3d.SkinControl(skinViewer); + let control = new skinview3d.createOrbitControls(skinViewer); skinViewer.animation = new skinview3d.CompositeAnimation(); - let walk = skinViewer.animation.add(skinview3d.WalkAnimation); + let walk = skinViewer.animation.add(skinview3d.WalkingAnimation); walk.speed = 1.5;