English subtitles

← Capsule - Interactive 3D Graphics

Get Embed Code
2 Languages

Showing Revision 2 created 05/25/2016 by Udacity Robot.

  1. I implemented the solution by creating an object in which to put my cylinder and
  2. two spheres. At the top there's a little logic here to determine whether any
  3. sphere is needed at all. If so, I create the sphere's geometry. Then, each end
  4. is checked to see if it's used. If it is, a sphere object is created with the
  5. geometry, positioned and added to the capsule, which is then returned. That's
  6. it.