Skip to content

Commit

Permalink
Remove more debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Gillespie committed Feb 16, 2024
1 parent 93e98ef commit fddd455
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/polyscope/pick.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ inline glm::vec3 indToVec(size_t globalInd) {
globalInd = globalInd >> bitsForPickPacking;
uint64_t high = globalInd;

return 2500.f * glm::vec3{static_cast<double>(low) / factorF, static_cast<double>(med) / factorF,
static_cast<double>(high) / factorF};
return glm::vec3{static_cast<double>(low) / factorF, static_cast<double>(med) / factorF,
static_cast<double>(high) / factorF};
}
inline uint64_t vecToInd(glm::vec3 vec) {
vec /= 2500.f;

uint64_t factor = 1 << bitsForPickPacking;
double factorF = factor;

Expand Down

0 comments on commit fddd455

Please sign in to comment.