From c67fb5685ba540ac2bb4087aba104e58d97ddc78 Mon Sep 17 00:00:00 2001 From: eunjegal <eunjegal@umd.edu> Date: Tue, 8 Nov 2022 14:17:26 -0500 Subject: [PATCH] Lab10 Fix Description --- .../java/course/labs/graphicslab/BubblePositionViewModel.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Labs/Lab10_Touch/app/src/main/java/course/labs/graphicslab/BubblePositionViewModel.kt b/Labs/Lab10_Touch/app/src/main/java/course/labs/graphicslab/BubblePositionViewModel.kt index 366c3cc..d4554f0 100644 --- a/Labs/Lab10_Touch/app/src/main/java/course/labs/graphicslab/BubblePositionViewModel.kt +++ b/Labs/Lab10_Touch/app/src/main/java/course/labs/graphicslab/BubblePositionViewModel.kt @@ -82,8 +82,8 @@ class BubblePositionViewModel( // ToDo: // Apply decay // Two lines of code needed - // - If the absolute value of dx is 0.0 or less, multiply DECAY value to dx - // - If the absolute value of dy is 0.0 or less, multiply DECAY value to dy + // - If the absolute value of dx is greater than or equal to 0.0, multiply DECAY value to dx + // - If the absolute value of dy is greater than or equal to 0.0, multiply DECAY value to dy // ToDo: -- GitLab