(simProps: any)
| 689 | class ExternalForce extends ShaderPass { |
| 690 | mouse!: THREE.Mesh; |
| 691 | constructor(simProps: any) { |
| 692 | super({ output: simProps.dst }); |
| 693 | this.init(simProps); |
| 694 | } |
| 695 | init(simProps: any) { |
| 696 | super.init(); |
| 697 | const mouseG = new THREE.PlaneGeometry(1, 1); |