babylon.js ステップ3 線Lineを使ったいろいろな形状を表示

いろいろな形状シリーズです。いきましょう! 線 //Array of points to construct lines var myPoints = [ new BABYLON.Vector3(0, 0, 0), new BABYLON.Vector3(0, 1, 1), new BABYLON.Vector3(0, 1, 0) ]; //Create lines var lines = BABYLON.MeshBuilder.CreateLines("lines", {points: myPoints}, scene); BABYLON.Vec…