brentongunning/voodoo.js

Create store for sharing objects between Models and Views

Closed this issue · 1 comments

There should be a store, or cache, where the user can put loaded geometry and materials so they don't have to be reloaded each time an instance of the control is created.

this.view.store.add();
this.view.store.remove().
Same for model.

Store.add(object, opt_name, opt_organization);
Model.organization

Added to build 0.8.5