MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / CoverageShadowEdges

Function CoverageShadowEdges

graph-ui/src/galaxy/GraphScene.tsx:962–968  ·  view source on GitHub ↗
({ shadow, brightness }: { shadow: CoverageShadow; brightness: number })

Source from the content-addressed store, hash-verified

960export type { CameraTarget };
961
962function CoverageShadowEdges({ shadow, brightness }: { shadow: CoverageShadow; brightness: number }) {
963 const positions = useMemo(() => coverageShadowPositions(shadow), [shadow]);
964 return <lineSegments>
965 <bufferGeometry><bufferAttribute attach="attributes-position" args={[positions, 3]} /></bufferGeometry>
966 <lineBasicMaterial color={COVERAGE_SHADOW_COLOR} transparent opacity={Math.min(0.6, Math.max(0, brightness) * 0.28)} depthWrite={false} toneMapped={false} />
967 </lineSegments>;
968}
969
970export function GraphScene({
971 active = true,

Callers

nothing calls this directly

Calls 1

coverageShadowPositionsFunction · 0.90

Tested by

no test coverage detected