declare global {
    interface Document {
        asy: any;
    }

    interface Window {
        webGLStart: () => void,
        light: Function,
        material: Function,
        patch: Function,
        curve: Function,
        pixel: Function,
        triangles: Function,
        sphere: Function,
        disk: Function,
        cylinder: Function,
        tube: Function,
        Positions: any[],
        Normals: any[],
        Colors: any[],
        Indices: any[],
        initTransform: Function,
        beginTransform: Function,
        endTransform: Function,
        interp: Function,
        updateScene: Function,
        javascript: (code: string) => void
    }

    /** This is for gl-matrix functions */
    var glmat: any;
}

export {};
