Question: The programming language is three.js but not using the THREE.CylinderGeometry that it is in the page of three.js. Write an analogous function that generates and

The programming language is three.js but not using the THREE.CylinderGeometry that it is in the page of three.js.The programming language is three.js but not using the THREE.CylinderGeometry that it

Write an analogous function that generates and returns the geometry of a cylinder. The function createCylinder(n, rad, len) returns the geometry of an n-sided cylinder of radius rad. It should be centered at the origin and aligned with the y-axis, so that the cylinder's top face lies in the plane y = len/2 and its bottom face in the plane y=-len/2. Do not use THREE.CylinderGeometry

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!