mirror of
https://github.com/make-42/xyosc
synced 2025-01-18 18:57:10 +01:00
yes
This commit is contained in:
parent
145abd9383
commit
a81f476c8d
2
main.go
2
main.go
@ -103,7 +103,7 @@ func (g *Game) Draw(screen *ebiten.Image) {
|
|||||||
r, θ := cmplx.Polar(X[1])
|
r, θ := cmplx.Polar(X[1])
|
||||||
maxR := r
|
maxR := r
|
||||||
maxθ := θ
|
maxθ := θ
|
||||||
maxi := 1
|
maxi := uint32(1)
|
||||||
for i := uint32(0); i < numSamples-1; i++ {
|
for i := uint32(0); i < numSamples-1; i++ {
|
||||||
r, θ = cmplx.Polar(X[i+1])
|
r, θ = cmplx.Polar(X[i+1])
|
||||||
if r > maxR {
|
if r > maxR {
|
||||||
|
Loading…
Reference in New Issue
Block a user