需要以下的修改:


31 行:

1
scene.add( cube ;

改成

1
scene.add( cube );

67 行:

1
/ draw the coordinate grid

改成

1
// draw the coordinate grid

69 行:

1
Coordinates.drawGrid(size:1000,scale:0.01, orientation:"y"});

改成

1
Coordinates.drawGrid({size:1000,scale:0.01, orientation:"y"});