Set up npm run build to build dyna3
This commit is contained in:
parent
660f42b31f
commit
83318c7884
2 changed files with 8 additions and 1 deletions
|
@ -14,7 +14,7 @@ When you load dyna3, you should initially see a three-dimensional coordinate sys
|
|||
|
||||
scene = new J3.Scene()
|
||||
geometry = new J3.SphereBufferGeometry(1, 5, 5)
|
||||
material = new J3.MeshBasicMaterial( {color: 0x0000ff} )
|
||||
material = new J3.MeshBasicMaterial {color: 0xff00ff}
|
||||
ball = new J3.Mesh(geometry, material)
|
||||
scene.add ball
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue