mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-09 09:52:34 +01:00
17 lines
382 B
JavaScript
17 lines
382 B
JavaScript
import {MShell} from './mshell';
|
|
import {MFace} from './mface';
|
|
|
|
export class MOpenFaceShell extends MShell {
|
|
|
|
constructor(surfacePrototype, csys) {
|
|
super();
|
|
this.surfacePrototype = surfacePrototype;
|
|
this.faces.push(new MFace(this.id + '/SURFACE', this,
|
|
surfacePrototype.boundTo([], 100, 100), csys));
|
|
}
|
|
|
|
get face() {
|
|
return this.faces[0];
|
|
}
|
|
|
|
}
|