14
14
extension Noise
15
15
{
16
16
@available ( * , deprecated, message: " area sampling is deprecated, iterate over a Domain2D.Iterator iterator and sample directly instead. " )
17
- public
18
17
func sample_area( width: Int , height: Int ) -> [ ( Double , Double , Double ) ]
19
18
{
20
19
var samples : [ ( Double , Double , Double ) ] = [ ]
@@ -32,7 +31,6 @@ extension Noise
32
31
}
33
32
34
33
@available ( * , deprecated, message: " area sampling is deprecated, iterate over a Domain2D.Iterator iterator and sample directly instead. " )
35
- public
36
34
func sample_area_saturated_to_u8( width: Int , height: Int , offset: Double = 0.5 ) -> [ UInt8 ]
37
35
{
38
36
var samples : [ UInt8 ] = [ ]
@@ -50,7 +48,6 @@ extension Noise
50
48
}
51
49
52
50
@available ( * , deprecated, message: " volume sampling is deprecated, iterate over a Domain3D.Iterator iterator and sample directly instead. " )
53
- public
54
51
func sample_volume( width: Int , height: Int , depth: Int ) -> [ ( Double , Double , Double , Double ) ]
55
52
{
56
53
var samples : [ ( Double , Double , Double , Double ) ] = [ ]
@@ -72,7 +69,6 @@ extension Noise
72
69
}
73
70
74
71
@available ( * , deprecated, message: " volume sampling is deprecated, iterate over a Domain3D.Iterator iterator and sample directly instead. " )
75
- public
76
72
func sample_volume_saturated_to_u8( width: Int , height: Int , depth: Int , offset: Double = 0.5 ) -> [ UInt8 ]
77
73
{
78
74
var samples : [ UInt8 ] = [ ]
0 commit comments