me-webgpu-react
Version:
React wrapper for **MatrixEngine WebGPU** — a lightweight WebGPU 3D engine for meshes, physics, and more.
11 lines (10 loc) • 599 B
JavaScript
export { MatrixEngineProvider, useMatrixEngineWGPU } from './MatrixEngineProvider';
export { MatrixEngineCanvas } from './MatrixEngineCanvas';
export * from './subComponents/cube';
export * from './subComponents/ball';
export * from './subComponents/mesh';
// from engine direct
import { addRaycastsAABBListener, addRaycastListener, getRayFromMouse, rayIntersectsSphere } from "matrix-engine-wgpu";
export { addRaycastsAABBListener, addRaycastListener, getRayFromMouse, rayIntersectsSphere };
export { makeObjSeqArg } from "matrix-engine-wgpu";
export { downloadMeshes } from "matrix-engine-wgpu";