Skip to content

Commit 012f7f2

Browse files
committed
removed debug info
1 parent 43e99c4 commit 012f7f2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

raylib/rayrenderer.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,10 @@ inline bool DensityGrid::operator()(const Eigen::Vector3i &p, const Eigen::Vecto
177177
if (p == target && bounded_)
178178
{
179179
double length_in_voxel = std::min(out_length, max_length) - in_length;
180-
if (length_in_voxel > 1.733 || length_in_voxel < -1e-7)
181-
std::cout << "what's going on?" << out_length << ", " << max_length << ", " << in_length << std::endl;
182180
voxels_[index].addHitRay(static_cast<float>(length_in_voxel * voxel_width_));
183181
}
184182
else
185183
{
186-
if ((out_length - in_length) > 1.733 || (out_length - in_length) < -1e-7)
187-
std::cout << "what on earth's going on?" << (out_length - in_length) << std::endl;
188184
voxels_[index].addMissRay(static_cast<float>((out_length - in_length) * voxel_width_));
189185
}
190186
return false;

0 commit comments

Comments
 (0)