Skip to content

Commit

Permalink
Fix old naming typos in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
flar committed Nov 17, 2023
1 parent 4dbaae2 commit 92b97fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions impeller/entity/geometry/circle_tessellator.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ using TessellatedPointProc = std::function<void(const Point& p)>;
/// triangles are rendered for maximum tessellation fidelity.
class CircleTessellator {
public:
/// @brief Constructs a CircleDivider that produces enough segments to
/// reasonably approximate a circle with a specified |radius|
/// @brief Constructs a CircleTessellator that produces enough segments
/// to reasonably approximate a circle with a specified |radius|
/// when viewed under the specified |transform|.
constexpr CircleTessellator(const Matrix& transform, Scalar radius)
: CircleTessellator(transform.GetMaxBasisLength() * radius) {}
Expand Down Expand Up @@ -102,8 +102,8 @@ class CircleTessellator {
private:
const size_t quadrant_divisions_;

/// @brief Constructs a CircleDivider that produces enough segments to
/// reasonably approximate a circle with a specified radius
/// @brief Constructs a CircleTessellator that produces enough segments
/// to reasonably approximate a circle with a specified radius
/// in pixels.
constexpr explicit CircleTessellator(Scalar pixel_radius)
: quadrant_divisions_(ComputeQuadrantDivisions(pixel_radius)) {}
Expand Down

0 comments on commit 92b97fd

Please sign in to comment.