| 25 | import { Subscriptions } from "../utils/hooks"; |
| 26 | |
| 27 | export interface IProgramState { |
| 28 | native: NativeFunctions | null; |
| 29 | wasmGptModel: IWasmGptModel | null; |
| 30 | stepModel: boolean; |
| 31 | mouse: IMouseState; |
| 32 | render: IRenderState; |
| 33 | inWalkthrough: boolean; |
| 34 | walkthrough: ReturnType<typeof initWalkthrough>; |
| 35 | camera: ICamera; |
| 36 | htmlSubs: Subscriptions; |
| 37 | layout: IGptModelLayout; |
| 38 | mainExample: IModelExample; |
| 39 | examples: IModelExample[]; |
| 40 | currExampleId: number; |
| 41 | shape: IModelShape; |
| 42 | gptGpuModel: IGpuGptModel | null; |
| 43 | jsGptModel: IGptModelLink | null; |
| 44 | movement: IMovementInfo; |
| 45 | display: IDisplayState; |
| 46 | pageLayout: ILayout; |
| 47 | markDirty: () => void; |
| 48 | } |
| 49 | |
| 50 | export interface IModelExample { |
| 51 | name: string; |
nothing calls this directly
no outgoing calls
no test coverage detected