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
12 lines (11 loc) • 646 B
TypeScript
import type { ReactElement } from "react";
import type { Mesh, BufferGeometry } from "three";
import type { MeshProps } from "@react-three/fiber";
export interface CoonsPatchProps extends Omit<MeshProps, "geometry" | "ref"> {
resolutionU?: number;
resolutionV?: number;
color?: string;
wireframe?: boolean;
children: ReactElement | ReactElement[];
}
export declare const CoonsPatch: import("react").ForwardRefExoticComponent<CoonsPatchProps & import("react").RefAttributes<Mesh<BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap>>>;