Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move TMD reader out of Scene.js #2

Open
dannycalleri opened this issue Jul 8, 2017 · 0 comments
Open

Move TMD reader out of Scene.js #2

dannycalleri opened this issue Jul 8, 2017 · 0 comments

Comments

@dannycalleri
Copy link
Owner

dannycalleri commented Jul 8, 2017

Even if the format is specified inside his own TMD.js file, the reader it's still inside Scene.js's loadModel.
Scene.js should become agnostic to the type of model we are loading.
It could use a switch statement to now exactly which format specifier and reader to load, starting from file extension.

A file TMDReader.js already exists inside src/formats/

See also #1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant