mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-26 20:19:50 +01: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)
|
.copy(aimTarget)
|
||||||
.sub(shellOrigin)
|
.sub(shellOrigin)
|
||||||
.normalize()
|
.normalize()
|
||||||
.multiplyScalar(-1e-4)
|
.multiplyScalar(-Number.EPSILON)
|
||||||
.add(shellOrigin);
|
.add(shellOrigin);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in new issue
Block a user