osition.x, _position.y, _position.z );
						lineSegments.geometry.attributes.position.setXYZ( lineNum ++, 0, 0, 0 );

					}

				}

				sphereInstance.count = rayCount * 2;
				sphereInstance.instanceMatrix.needsUpdate = true;

				lineSegments.geometry.setDrawRange( 0, lineNum );
				lineSegments.geometry.attributes.position.needsUpdate = true;

			}

			function onWindowResize() {

				camera.aspect = window.innerWidth / window.innerHeight;
				camera.updateProjectionMatrix();

				renderer.setSize( win