IOU box3d epsilon fix

Summary: The epsilon value is important for determining whether vertices are inside/outside a plane.

Reviewed By: gkioxari

Differential Revision: D31485247

fbshipit-source-id: 5517575de7c02f1afa277d00e0190a81f44f5761
This commit is contained in:
Nikhila Ravi
2021-10-07 18:40:56 -07:00
committed by Facebook GitHub Bot
parent b26f4bc33a
commit 6dfa326922
4 changed files with 28 additions and 9 deletions

View File

@@ -11,7 +11,8 @@
#include <thrust/device_vector.h>
#include <cstdio>
#include "utils/float_math.cuh"
#include "utils/geometry_utils.cuh"
const auto kEpsilon = 1e-4;
/*
_PLANES and _TRIS define the 4- and 3-connectivity

View File

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