• yomna-safaa's avatar
    Merge pull request #1583 from yomna-safaa:ppf-fix-seg-fault · 71191e36
    yomna-safaa authored
    * fixed bug when norm less than eps where float array elements were left uninitialized
    
    * cast double to float in fixing ppf norm=0 segmantation fault
    
    * set array values 3,4,5 for normals = 0 in case of norm<eps to fix ppf segmentation fault bug
    71191e36
ppf_helpers.cpp 19.1 KB