I am currently facing an issue with integrating a 3D model into the background of the hero section on my website. The integration works fine, but I noticed that when I manually resize the window, the 3D model does not adjust to the new size. Additionally, I keep receiving an error message in the console specifically mentioning line 69 of my code in the 'three.js' file: Here is the error message displayed in the console:
https://i.sstatic.net/EokkU.png https://i.sstatic.net/1yAux.png
My main focus is to resolve the issue related to the 3D model not adapting to the screen size. While the error message is less critical, it would be ideal to address both problems if possible. Do you have any suggestions or solutions?
insert modified code here...
insert modified code here...
insert modified code here...