(gsplat: DynoVal<typeof Gsplat>)
| 115 | |
| 116 | // Apply the transform to a Gsplat in a dyno program. |
| 117 | applyGsplat(gsplat: DynoVal<typeof Gsplat>): DynoVal<typeof Gsplat> { |
| 118 | return transformGsplat(gsplat, { |
| 119 | scale: this.scale, |
| 120 | rotate: this.rotate, |
| 121 | translate: this.translate, |
| 122 | }); |
| 123 | } |
| 124 | |
| 125 | // Update the uniforms to match the given transform matrix. |
| 126 | updateFromMatrix(transform: THREE.Matrix4) { |
no test coverage detected