!function(e){function t(r){if(a[r])return a[r].exports;var n=a[r]={exports:{},id:r,loaded:!1};return e[r].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var a={};return t.m=e,t.c=a,t.p="",t(0)}([function(e,t){if("undefined"==typeof AFRAME)throw new Error("Component attempted to register before AFRAME was available.");AFRAME.registerComponent("crease",{schema:{type:"boolean","default":!0},update:function(){var e=this.el.getObject3D("mesh");e.material.shading=THREE.SmoothShading,this.data&&(e.material.shading=THREE.FlatShading),e.material.needsUpdate=!0},remove:function(){var e=this.el.getObject3D("mesh");e.material.shading=THREE.SmoothShading,e.material.needsUpdate=!0}})}]);