mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
feat: use epsilon
This commit is contained in:
1 parent
5ab0a12f4c
commit
fdcbb8f29f
1 file changed
+1
-1
+1
-1
@@ -293,7 +293,7 @@ export function Controls() {
|
||||
.copy(aimTarget)
|
||||
.sub(shellOrigin)
|
||||
.normalize()
|
||||
.multiplyScalar(-1e-4)
|
||||
.multiplyScalar(-Number.EPSILON)
|
||||
.add(shellOrigin);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user