import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
import { threeDIntoSvgPath } from '@remotion/svg-3d-engine';
export const Faces = ({ elements, ...svgProps }) => {
    return (_jsx(_Fragment, { children: elements.map(({ points, color, crispEdges }, idx) => {
            return (_jsx("path", { d: threeDIntoSvgPath(points), fill: color, shapeRendering: crispEdges ? 'crispEdges' : undefined, ...svgProps }, idx));
        }) }));
};
