SafwanChowdhury / Chess-Project

3D online chess website with VR support. Now live check out the website!
https://3d-chess.co.uk
0 stars 0 forks source link

OOp for main.js #62

Closed SafwanChowdhury closed 6 months ago

SafwanChowdhury commented 1 year ago

Need to split main.js and VRLocal and debug.js. All shared code in one file so that would include, scene, renderer and camera as well as object loading and object data initialisation. We can then separate VR interactions, Interactions and networking. Specifically it may be useful to retain the animate function separate. Export scene camera and renderer from common.js