Skip to content

Commit

Permalink
Update app.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wkjarosz committed Dec 28, 2023
1 parent ec9d189 commit 1e8188f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1566,9 +1566,6 @@ void SampleViewer::draw_text(const int2 &pos, const string &text, const float4 &

string SampleViewer::export_XYZ_points(const string &format)
{
// float radius = map_slider_to_radius(m_radius);
// if (m_scale_radius_with_points)
// radius *= 64.0f / std::sqrt(m_point_count);
float radius = m_radius / (m_scale_radius_with_points ? std::sqrt(m_point_count) : 1.0f);

string out = (format == "eps") ? header_eps(m_point_color, radius) : header_svg(m_point_color);
Expand Down

0 comments on commit 1e8188f

Please sign in to comment.