node-ejs-renderer/node_modules/three/examples/jsm/renderers/common/Binding.js

26 lines
265 B
JavaScript
Raw Permalink Normal View History

2024-06-09 13:55:01 -04:00
class Binding {
constructor( name = '' ) {
this.name = name;
this.visibility = 0;
}
setVisibility( visibility ) {
this.visibility |= visibility;
}
clone() {
return Object.assign( new this.constructor(), this );
}
}
export default Binding;