Skip to content

Instantly share code, notes, and snippets.

@nklsrh
Created July 10, 2013 02:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save nklsrh/5963078 to your computer and use it in GitHub Desktop.
Save nklsrh/5963078 to your computer and use it in GitHub Desktop.
paddle1 = new THREE.Mesh(
new THREE.CubeGeometry(paddleWidth, paddleHeight, paddleDepth, paddleQuality, paddleQuality, paddleQuality),
paddle1Material);
// add the sphere to the scene
scene.add(paddle1);
paddle1.receiveShadow = true;
paddle1.castShadow = true;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment