whole_func_string: function onWindowResize() {
      camera.aspect = container.offsetWidth / container.offsetHeight;
      camera.updateProjectionMatrix();
  
      renderer.setSize(container.offsetWidth, container.offsetHeight);
  }
func_code_string: function onWindowResize() {
      camera.aspect = container.offsetWidth / container.offsetHeight;
      camera.updateProjectionMatrix();
  
      renderer.setSize(container.offsetWidth, container.offsetHeight);
  }
func_documentation_string: Handle window resize