You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the vx__voxelize function, the vx__aabb_center function is used to obtain the center point of an AABB by calculating (saabb.min + saabb.max) / 2. However, this is equivalent to ((xyz - hvs) + (xyz + hvs)) / 2, which simplifies to xyz.
Is there a specific reason for using vx__aabb_center to get the AABB center rather than using xyz directly?
In the
vx__voxelize
function, thevx__aabb_center
function is used to obtain the center point of an AABB by calculating(saabb.min + saabb.max) / 2
. However, this is equivalent to((xyz - hvs) + (xyz + hvs)) / 2
, which simplifies toxyz
.Is there a specific reason for using
vx__aabb_center
to get the AABB center rather than usingxyz
directly?voxelizer/voxelizer.h
Lines 630 to 637 in f6ee9cf
voxelizer/voxelizer.h
Lines 756 to 769 in f6ee9cf
The text was updated successfully, but these errors were encountered: