lower eps

Summary: Lower the epsilon value in the IoU3D calculation to fix small numerical issue from GH#1082

Reviewed By: bottler

Differential Revision: D34371597

fbshipit-source-id: 12443fa359b7755ef4ae60e9adf83734a1a295ae
This commit is contained in:
Georgia Gkioxari
2022-02-21 09:13:36 -08:00
committed by Facebook GitHub Bot
parent 967a099231
commit 3de41223dd
3 changed files with 79 additions and 7 deletions

View File

@@ -12,7 +12,7 @@
#include <cstdio>
#include "utils/float_math.cuh"
__constant__ const float kEpsilon = 1e-4;
__constant__ const float kEpsilon = 1e-5;
/*
_PLANES and _TRIS define the 4- and 3-connectivity

View File

@@ -18,7 +18,8 @@
#include <type_traits>
#include "utils/vec3.h"
const auto kEpsilon = 1e-4;
const auto kEpsilon = 1e-5;
/*
_PLANES and _TRIS define the 4- and 3-connectivity
of the 8 box corners.