From 930793cfb95262714ca3642dbbbd7ba0b30eb22e Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 17 Jul 2021 23:24:43 +0200 Subject: added galaxy mode for 3d --- app/components/tweaks/tweaks.tsx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/components/tweaks') diff --git a/app/components/tweaks/tweaks.tsx b/app/components/tweaks/tweaks.tsx index 8913e98..a67b723 100644 --- a/app/components/tweaks/tweaks.tsx +++ b/app/components/tweaks/tweaks.tsx @@ -102,6 +102,11 @@ export const Tweaks = observer(function Tweaks(props: TweaksProps): JSX.Element onValueChange={(value) => { setPhysics({ ...physics, velocityDecay: value }) }} value={physics.velocityDecay} step={0.01} /> + + { setPhysics({ ...physics, galaxy: !physics.galaxy }) }} + /> , }, { -- cgit v1.2.3