فهرست منبع

delete unnecessary line

Former-commit-id: 18af3c52c017fa5ec06cb536e74e42a3b6a35542
Alec Jacobson 8 سال پیش
والد
کامیت
def56b2aad
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  1. 0 1
      include/igl/ambient_occlusion.cpp

+ 0 - 1
include/igl/ambient_occlusion.cpp

@@ -34,7 +34,6 @@ IGL_INLINE void igl::ambient_occlusion(
   const int n = P.rows();
   // Resize output
   S.resize(n,1);
-  VectorXi hits = VectorXi::Zero(n,1);
   // Embree seems to be parallel when constructing but not when tracing rays
   const MatrixXf D = random_dir_stratified(num_samples).cast<float>();