Skip to content

Commit 31d9db8

Browse files
committed
more coords/inds renaming
1 parent f422847 commit 31d9db8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/polyscope/pick.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct PickResult {
3030
std::string structureType = "";
3131
std::string structureName = "";
3232
glm::vec2 screenCoords;
33-
glm::ivec2 bufferCoords;
33+
glm::ivec2 bufferInds;
3434
glm::vec3 position;
3535
float depth;
3636
uint64_t localIndex = INVALID_IND_64;

src/pick.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ PickResult queryPickAtBufferInds(glm::ivec2 bufferInds) {
2727

2828
// Transcribe result into return tuple
2929
result.structure = rawPickResult.first;
30-
result.bufferCoords = bufferInds;
30+
result.bufferInds = bufferInds;
3131
result.screenCoords = view::bufferIndsToScreenCoords(bufferInds);
3232
if (rawPickResult.first == nullptr) {
3333
result.isHit = false;

0 commit comments

Comments
 (0)