diff --git a/src/core/AdaptiveDpr.tsx b/src/core/AdaptiveDpr.tsx index 98e809b73..4e3c62b5a 100644 --- a/src/core/AdaptiveDpr.tsx +++ b/src/core/AdaptiveDpr.tsx @@ -1,7 +1,12 @@ import * as React from 'react' import { useThree } from '@react-three/fiber' -export function AdaptiveDpr({ pixelated }: { pixelated?: boolean }) { +export function AdaptiveDpr({ + pixelated, +}: { + /** Whether or not to use 'pixelated' imageRendering for canvas */ + pixelated?: boolean +}) { const gl = useThree((state) => state.gl) const active = useThree((state) => state.internal.active) const current = useThree((state) => state.performance.current) diff --git a/src/core/BBAnchor.tsx b/src/core/BBAnchor.tsx index a1bcb6e42..cd68830ac 100644 --- a/src/core/BBAnchor.tsx +++ b/src/core/BBAnchor.tsx @@ -6,6 +6,7 @@ const boundingBox = /* @__PURE__ */ new THREE.Box3() const boundingBoxSize = /* @__PURE__ */ new THREE.Vector3() export interface BBAnchorProps extends GroupProps { + /** Origin point for `children` (in bbox coordinates) */ anchor: THREE.Vector3 | [number, number, number] }