Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating circle.. #24

Open
gvsharma opened this issue Sep 22, 2016 · 0 comments
Open

Creating circle.. #24

gvsharma opened this issue Sep 22, 2016 · 0 comments

Comments

@gvsharma
Copy link

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..?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant