We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8ccd8 commit 2ae804aCopy full SHA for 2ae804a
1 file changed
src/filament.jl
@@ -322,7 +322,7 @@ Compute cross product of 3D vectors in-place.
322
nothing
323
end
324
325
-@inline smooth_norm3(a) = sqrt(a[1]*a[1] + a[2]*a[2] + a[3]*a[3] + 1e-18)
+@inline smooth_norm3(a) = sqrt(a[1]*a[1] + a[2]*a[2] + a[3]*a[3] + 1e-12)
326
@inline dot3(a, b) = a[1]*b[1] + a[2]*b[2] + a[3]*b[3]
327
@inline function smooth_normalize3!(v)
328
n = smooth_norm3(v)
0 commit comments