preact
This commit is contained in:
parent
6acf267d48
commit
b7614eb3f8
4794 changed files with 1280808 additions and 1546 deletions
25
frontend/node_modules/three/examples/jsm/renderers/common/Binding.js
generated
vendored
Normal file
25
frontend/node_modules/three/examples/jsm/renderers/common/Binding.js
generated
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue