Skip to content

Commit fddd455

Browse files
author
Mark Gillespie
committed
Remove more debug code
1 parent 93e98ef commit fddd455

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/polyscope/pick.ipp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ inline glm::vec3 indToVec(size_t globalInd) {
2424
globalInd = globalInd >> bitsForPickPacking;
2525
uint64_t high = globalInd;
2626

27-
return 2500.f * glm::vec3{static_cast<double>(low) / factorF, static_cast<double>(med) / factorF,
28-
static_cast<double>(high) / factorF};
27+
return glm::vec3{static_cast<double>(low) / factorF, static_cast<double>(med) / factorF,
28+
static_cast<double>(high) / factorF};
2929
}
3030
inline uint64_t vecToInd(glm::vec3 vec) {
31-
vec /= 2500.f;
31+
3232
uint64_t factor = 1 << bitsForPickPacking;
3333
double factorF = factor;
3434

0 commit comments

Comments
 (0)