添加关照、全局等高线、修改图层问题
This commit is contained in:
18
static/sdk/three/jsm/transpiler/Transpiler.js
Normal file
18
static/sdk/three/jsm/transpiler/Transpiler.js
Normal file
@ -0,0 +1,18 @@
|
||||
class Transpiler {
|
||||
|
||||
constructor( decoder, encoder ) {
|
||||
|
||||
this.decoder = decoder;
|
||||
this.encoder = encoder;
|
||||
|
||||
}
|
||||
|
||||
parse( source ) {
|
||||
|
||||
return this.encoder.emit( this.decoder.parse( source ) );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default Transpiler;
|
Reference in New Issue
Block a user