Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
three.js has functions missing in externs file #292
I think the three.js library has some missing functions in the externs file, but I´ve yet to understand the proper way to encode the functions that are missing in the externs file. Here is what I am experiencing:
I have the following Three.js code:
This works fine in non-advanced compilation but fails when using :advanced.
This is what is generated with :advanced
This is the error in the browser console:
The three.ext.js file contains the following:
The three.js file contains the following:
How is the externs file supposed to look like in order to keep the setClearColor function?