jupyter-widgets / pythreejs

A Jupyter - Three.js bridge
https://pythreejs.readthedocs.io
Other
951 stars 188 forks source link

Refactor enums #53

Closed abelnation closed 8 years ago

abelnation commented 8 years ago

The diff for this PR will be much clearer after #52 is merged.

This eliminates repeating enum name strings throughout the code by refactoring those lists to a separate enums file that mirrors the three.js constants docs.

@jasongrout @SylvainCorlay