ä»åã¯ãThree.jsã®ãä¸è§å½¢ãªãã¸ã§ã¯ããã«ã¤ãã¦æ¸ãã¾ãã ãããªå½¢ã®ä¸è§å½¢ã®ä½ãæ¹ãæ¸ãã¦ããã¾ãã 横ããè¦ãã¨ã ãããªãã§ãã æåã¯ãã³ã¼ãããæ¸ãã¦ããã¾ãã ã³ãã©ã§ãã //ã¸ãªã¡ããªï¼å½¢ç¶ï¼ã®å®£è¨ã¨çæ var geometry = new THREE.Geometry(); //é ç¹åº§æ¨ãã¼ã¿ã追å geometry.vertices[0] = new THREE.Vector3(150,0,0); geometry.vertices[1] = new THREE.Vector3(0,150,0); geometry.vertices[2] = new THREE.Vector3(0,0,150); //é¢æå®ç¨é ç¹ã¤ã³ããã¯ã¹ã追å geometry.faces[0] = new THREE.Face3(0,1,2); //ãããªã¢ã«ï¼æ質ï¼ã®å®£è¨ã¨çæ va
{{#tags}}- {{label}}
{{/tags}}