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 { LineProps } from "@react-three/drei"; export interface NurbsCircleProps extends Omit<LineProps, "points" | "resolution"> { center?: [number, number, number]; radius?: number; xaxis?: [number, number, number]; yaxis?: [number, number, number]; resolution?: number; color?: string; } export declare const NurbsCircle: ({ center, radius, xaxis, yaxis, resolution, color, ...lineProps }: NurbsCircleProps) => import("react/jsx-runtime").JSX.Element | null;