You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
am newbie to three js and learning now. i need to create a circle geometry and faceVertexUvs.
var radius = 3,
segments = 32,
material = new THREE.LineBasicMaterial({color: 0xFF0000}),
geometry = new THREE.CircleGeometry(radius, segments);
var circle = new THREE.Line(geometry, material);
circle.position.set(5, 6, 0);
scene.add(circle);
This is creating an eclipse but not circle. Please help me where am wrong..?
The text was updated successfully, but these errors were encountered:
am newbie to three js and learning now. i need to create a circle geometry and faceVertexUvs.
var radius = 3,
segments = 32,
material = new THREE.LineBasicMaterial({color: 0xFF0000}),
geometry = new THREE.CircleGeometry(radius, segments);
var circle = new THREE.Line(geometry, material);
circle.position.set(5, 6, 0);
scene.add(circle);
This is creating an eclipse but not circle. Please help me where am wrong..?
The text was updated successfully, but these errors were encountered: