Anders and Briegel in Python
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
219B

  1. //TODO Move to THREE.gridhelper
  2. // Make a grid
  3. function makeGrid(side, n, color) {
  4. var grid = new THREE.GridHelper(20, 2);
  5. grid.rotation.x = Math.PI/2;
  6. grid.setColors(0xdddddd, 0xeeeeee);
  7. return grid;
  8. }