// PL1's proof (docs/plugins.feature): a project outside the plugins bench imports the catalog by name, the same // way any author's project does. A ball dropped on a floor with avian's components from raea/plugins/avian and Bevy's // own Bloom from raea/plugins/bevy, typed by bench/tsc. The plugin build (tools/bevy-plugins.sh) renders it. import { AbsoluteFill, Composition, registerRoot } from "raea"; import { Sphere } from "raea/3d"; import { ColliderConstructor, Restitution, RigidBody } from "raea/plugins/avian"; import { Bloom } from "raea/plugins/bevy"; import { avian, bevy } from "@raea/plugins"; import { StandardMaterial } from "raea/pbr"; import { Cuboid, Mesh3d } from "raea/mesh"; import { AmbientLight, DirectionalLight } from "raea/light"; import { Transform } from "raea/transform"; import { Camera3d } from "raea/camera"; function Drop() { return ( <> ); } // the handles name the plugins a headless BevyApp opens (raea/bevy), from the package's index export const plugins = [avian.plugin, bevy.plugin] as const; registerRoot(() => );