move noise stuff

This commit is contained in:
2024-09-03 02:57:29 +10:00
parent 60e6059d61
commit c24e6245fe
4 changed files with 6 additions and 4 deletions

View File

@ -0,0 +1,17 @@
public protocol CoherentNoise2D {
associatedtype Scalar: FloatingPoint & SIMDScalar
func get(_ point: SIMD2<Scalar>) -> Scalar
}
public protocol CoherentNoise3D {
associatedtype Scalar: FloatingPoint & SIMDScalar
func get(_ point: SIMD3<Scalar>) -> Scalar
}
public protocol CoherentNoise4D {
associatedtype Scalar: FloatingPoint & SIMDScalar
func get(_ point: SIMD4<Scalar>) -> Scalar
}