import { BufferAttribute, BufferGeometry } from "three";

export const FULL_SCREEN_TRIANGLE_GEOMETRY = new BufferGeometry();
FULL_SCREEN_TRIANGLE_GEOMETRY.setAttribute(
    'position',
    new BufferAttribute(
        new Float32Array([-1, -1, 0, 3, -1, 0, -1, 3, 0]),
        3
    )
);

FULL_SCREEN_TRIANGLE_GEOMETRY.setAttribute(
    'uv',
    new BufferAttribute(
        new Float32Array([0, 0, 2, 0, 0, 2]),
        2
    )
);
