Cleanup
This commit is contained in:
+1
-1
@@ -805,7 +805,7 @@ updateCloud w c
|
||||
& clTimer -~ 1
|
||||
)
|
||||
where
|
||||
newVel@(V3 _ _ nvz) = (0.95 *.*.* springVels) +.+.+ V3 0 0 (0.01 * vertVel)
|
||||
newVel@(V3 _ _ nvz) = (0.95 *^ springVels) + V3 0 0 (0.01 * vertVel)
|
||||
newVel2 = stripZ newVel
|
||||
vertVel = min 5 $ clAlt c - opz
|
||||
springVels = foldl' (clClSpringVel c) (_clVel c) (clsNearPoint oldPos2 w)
|
||||
|
||||
Reference in New Issue
Block a user