Skip to content

Commit

Permalink
Rename variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
kring committed Jan 13, 2025
1 parent 9003438 commit 666521e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CesiumGeospatial/src/S2CellBoundingVolume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ CesiumGeometry::CullingResult S2CellBoundingVolume::intersectPlane(
const CesiumGeometry::Plane& plane) const noexcept {
size_t plusCount = 0;
size_t negCount = 0;
for (const auto& _vertice : this->_vertices) {
for (const auto& vertex : this->_vertices) {
double distanceToPlane =
glm::dot(plane.getNormal(), _vertice) + plane.getDistance();
glm::dot(plane.getNormal(), vertex) + plane.getDistance();
if (distanceToPlane < 0.0) {
++negCount;
} else {
Expand Down

0 comments on commit 666521e

Please sign in to comment.