Compare commits
1 Commits
backup
...
playground
| Author | SHA1 | Date | |
|---|---|---|---|
| a72c392245 |
@@ -207,7 +207,7 @@ public struct Generator: ~Copyable {
|
|||||||
mt2 = max(t, mt2)
|
mt2 = max(t, mt2)
|
||||||
//print("ip: \(ip) mip: \(mip) mt2: \(mt2)")
|
//print("ip: \(ip) mip: \(mip) mt2: \(mt2)")
|
||||||
|
|
||||||
let w0 = 2 * .pi / rrpc[ip]
|
let w0 = 2 * .pi / rrpc[min(ip, rrpc.count - 1)]
|
||||||
|
|
||||||
let zbase = 0.005 * sin(2 * .pi * fhi * t)
|
let zbase = 0.005 * sin(2 * .pi * fhi * t)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user