Relative Content

Tag Archive for javascriptarrayscanvasthree.jsjavascript-objects

Object array type property is undefined in different file

I am in the process of refactoring a js file in which I used the THREE.js library to draw a truck visualization based on the parameters provided in the form. The code worked, but I need to extend it with more visualizations, so I decided to tidy it up first. For this purpose, I created an object in the scene.js file that looks like this: