Skip to content

Commit

Permalink
Updated debug example
Browse files Browse the repository at this point in the history
  • Loading branch information
emilwidlund committed May 9, 2018
1 parent f57bbba commit 8d8e7cd
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions debug/app.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,13 @@ scene = new Scene
width: Screen.width
height: Screen.height

new Light
parent: scene
type: 'point'
y: 200
z: 100

new Model
path: './models/flamingo/flamingo.json'
parent: scene
rotationY: -40
map: './images/icon.png'
material: new MeshNormalMaterial
morphTargets: true
flatShading: true
onLoad: (model) ->

model.states =
Expand Down

0 comments on commit 8d8e7cd

Please sign in to comment.