Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
LiangliangNan committed Dec 31, 2024
1 parent 358131d commit 1602371
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion easy3d/viewer/viewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1582,7 +1582,6 @@ namespace easy3d {
const float size = static_cast<float>(10 * dpi_scaling());
#endif
LinesDrawable drawable("pivot_point");
camera_->setScreenWidthAndHeight(width(), height());
const vec3 &pivot = camera()->projectedCoordinatesOf(camera()->pivotPoint());
const std::vector<vec3> points = {
vec3(pivot.x - size, pivot.y, 0.5f), vec3(pivot.x + size, pivot.y, 0.5f),
Expand Down

0 comments on commit 1602371

Please sign in to comment.