mirror of
https://github.com/facebookresearch/pytorch3d.git
synced 2025-12-20 14:20:38 +08:00
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:
committed by
Facebook GitHub Bot
parent
b26f4bc33a
commit
6dfa326922
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user