blob: db6657502c5152e1f9dc58f1111e9289458a5c28 [file] [log] [blame]
import { $, $$ } from '../../../infra-sk/modules/dom';
import './index';
import { UniformImageresolutionSk } from './uniform-imageresolution-sk';
$$('#apply')!.addEventListener('click', () => {
const uniforms: number[] = [0, 0, 0];
$<UniformImageresolutionSk>('uniform-imageresolution-sk')!.forEach((ele) => {
ele.applyUniformValues(uniforms);
});
$$<HTMLPreElement>('#results')!.innerText = uniforms.toString();
});