Skip to content

Move TMD reader out of Scene.js #2

@dannycalleri

Description

@dannycalleri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions