UNPKG

react-three-nurbs

Version:

A React component library for NURBS (Non-Uniform Rational B-Spline) curves, surfaces, and solids in Three.js. Built with React Three Fiber, zero external NURBS dependencies — all math implemented from scratch. Boolean operations powered by OpenCASCADE WAS

11 lines (10 loc) 491 B
import type { ReactElement } from "react"; import type { MeshProps } from "@react-three/fiber"; export interface SweptSurfaceProps extends Omit<MeshProps, "geometry"> { resolutionU?: number; resolutionV?: number; color?: string; wireframe?: boolean; children: ReactElement | ReactElement[]; } export declare const SweptSurface: ({ resolutionU, resolutionV, color, wireframe, children, ...meshProps }: SweptSurfaceProps) => import("react/jsx-runtime").JSX.Element | null;