Skip to content

Commit 85b4a45

Browse files
committed
clear 5.2 compiler warnings
1 parent 4d2f1a9 commit 85b4a45

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

sources/noise/noise.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public
1414
extension Noise
1515
{
1616
@available(*, deprecated, message: "area sampling is deprecated, iterate over a Domain2D.Iterator iterator and sample directly instead.")
17-
public
1817
func sample_area(width:Int, height:Int) -> [(Double, Double, Double)]
1918
{
2019
var samples:[(Double, Double, Double)] = []
@@ -32,7 +31,6 @@ extension Noise
3231
}
3332

3433
@available(*, deprecated, message: "area sampling is deprecated, iterate over a Domain2D.Iterator iterator and sample directly instead.")
35-
public
3634
func sample_area_saturated_to_u8(width:Int, height:Int, offset:Double = 0.5) -> [UInt8]
3735
{
3836
var samples:[UInt8] = []
@@ -50,7 +48,6 @@ extension Noise
5048
}
5149

5250
@available(*, deprecated, message: "volume sampling is deprecated, iterate over a Domain3D.Iterator iterator and sample directly instead.")
53-
public
5451
func sample_volume(width:Int, height:Int, depth:Int) -> [(Double, Double, Double, Double)]
5552
{
5653
var samples:[(Double, Double, Double, Double)] = []
@@ -72,7 +69,6 @@ extension Noise
7269
}
7370

7471
@available(*, deprecated, message: "volume sampling is deprecated, iterate over a Domain3D.Iterator iterator and sample directly instead.")
75-
public
7672
func sample_volume_saturated_to_u8(width:Int, height:Int, depth:Int, offset:Double = 0.5) -> [UInt8]
7773
{
7874
var samples:[UInt8] = []

0 commit comments

Comments
 (0)