Work Name: 【ドーナツ】

Source Code


const mesh01J293T9CKDS39A0NP47A9V6Q5 = BABYLON.MeshBuilder.CreateTorus('01J293T9CKDS39A0NP47A9V6Q5', {}, scene);
mesh01J293T9CKDS39A0NP47A9V6Q5.position = new BABYLON.Vector3(
  0.3283298071939498,
  2.9368700981140137,
  0.7381302363239229,
);
mesh01J293T9CKDS39A0NP47A9V6Q5.rotationQuaternion = new BABYLON.Quaternion(
  -0.026674027867251503,
  0.008931314289418426,
  0.0120404897099134,
  0.9995317673816213,
);
mesh01J293T9CKDS39A0NP47A9V6Q5.scaling = new BABYLON.Vector3(
  4.999999814999417,
  4.999999852149168,
  4.9999999436899305,
);

const subCSG = BABYLON.CSG.FromMesh(mesh01J293T9CKDS39A0NP47A9V6Q5);

subCSG.toMesh("csg", undefined, scene, true);

mesh01J293T9CKDS39A0NP47A9V6Q5.dispose();