Skip to content
Snippets Groups Projects
Commit 24e1079b authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

eod

parent 1477598b
No related branches found
No related tags found
No related merge requests found
......@@ -3,26 +3,35 @@
*/
define(['materials'], function(){
define(['materials'], function(materials){
return {
init: function(){
init: function(json){//create a new material
return materials.newMaterial(json);//return DMAMaterial object
},
destroy: function(material){
materials.deleteMaterial(material.getID());
},
getMaterialForId: function(id){
return materials.getMaterialForId(id);
},
set: function(){
getMaterials: function(){
},
bulkChangeMaterial: function(startMaterial, endMaterial){
getCompositeMaterials: function(){
},
destroy: function(){
bulkChangeMaterial: function(startMaterial, endMaterial){
}
}
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment