Skip to content

Instantly share code, notes, and snippets.

@AndrewRayCode
Created December 24, 2015 03:15
Show Gist options
  • Select an option

  • Save AndrewRayCode/ce10ec947a1a364ca948 to your computer and use it in GitHub Desktop.

Select an option

Save AndrewRayCode/ce10ec947a1a364ca948 to your computer and use it in GitHub Desktop.
return <group
position={ position }
rotation={ new THREE.Euler().setFromQuaternion( rotation ) }
scale={ scale }
>
<mesh
position={ offset }
ref="mesh"
castShadow
receiveShadow
>
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment