Skip to content

Commit 90a5e19

Browse files
committed
refactor: fix baumgarte typo
1 parent 71204d2 commit 90a5e19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export class Settings {
137137
* to 1 often lead to overshoot.
138138
*/
139139
static baumgarte: number = 0.2;
140-
static toiBaugarte: number = 0.75;
140+
static toiBaumgarte: number = 0.75;
141141

142142
// Sleep
143143

src/dynamics/Contact.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ export class Contact {
732732
// Track max constraint error.
733733
minSeparation = Math.min(minSeparation, separation);
734734

735-
const baumgarte = toi ? Settings.toiBaugarte : Settings.baumgarte;
735+
const baumgarte = toi ? Settings.toiBaumgarte : Settings.baumgarte;
736736
const linearSlop = Settings.linearSlop;
737737
const maxLinearCorrection = Settings.maxLinearCorrection;
738738

0 commit comments

Comments
 (0)