- implemented isolated colouring depending on camera
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
import type { CameraFeedAction, CameraFeedState } from "../../types/types";
|
||||
import type { CameraFeedAction, CameraFeedState, PaintedCell } from "../../types/types";
|
||||
|
||||
export const initialState: CameraFeedState = {
|
||||
cameraFeedID: "A",
|
||||
paintedCells: {
|
||||
A: new Map<string, PaintedCell>(),
|
||||
B: new Map<string, PaintedCell>(),
|
||||
C: new Map<string, PaintedCell>(),
|
||||
},
|
||||
};
|
||||
|
||||
export function reducer(state: CameraFeedState, action: CameraFeedAction) {
|
||||
|
||||
Reference in New Issue
Block a user