Skip to content

Commit

Permalink
Make colored(_:) with Color public
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasf committed Mar 20, 2024
1 parent a56c5fc commit 9fbe4b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SwiftSCAD/Development/ApplyColor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct ApplyColor3D: WrappedGeometry3D {
}

extension Geometry2D {
func colored(_ color: Color) -> any Geometry2D {
public func colored(_ color: Color) -> any Geometry2D {
ApplyColor2D(color: color, body: self)
}

Expand All @@ -55,7 +55,7 @@ extension Geometry2D {
}

extension Geometry3D {
func colored(_ color: Color) -> any Geometry3D {
public func colored(_ color: Color) -> any Geometry3D {
ApplyColor3D(color: color, body: self)
}

Expand Down

0 comments on commit 9fbe4b6

Please sign in to comment.