import { clipping_volume_matrix4_project } from "./clipping_volume_matrix4_project.js";


/**
 * Perform affine transform on a given frustum
 * @param {number[]|Float32Array|Float64Array} output
 * @param {number} output_offset
 * @param {number[]|Float32Array|Float64Array} input
 * @param {number} input_offset
 * @param {number[]|Float32Array|Float64Array} matrix4
 */
export function frustum_matrix4_project(
    output, output_offset,
    input, input_offset,
    matrix4
){
    clipping_volume_matrix4_project(output, output_offset, input, input_offset, 6, matrix4);
}