const geometry = new THREE.CircleGeometry( 100, 300 );
//const material = new THREE.MeshBasicMaterial( { color: 0xffff00 } );
// const circle = new THREE.Mesh( geometry, material );
let circle = new THREE.Mesh( geometry );
console.log(circle.position)
circle.position = new THREE.Vector3(100, 100, 100)
AB.world.newRun = function()
{
ABWorld.init2d(1000, 1000, "lightblue");
ABWorld.cameraFixed();
ABWorld.scene.add(circle);
};
AB.world.nextStep = function()
{
// Code for Three.js re-drawing of objects.
ABWorld.scene.add(circle);
};
AB.world.endRun = function()
{
};