mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-25 06:53:14 +00:00
Compare commits
2 commits
3b2a287efc
...
ac14b2316e
Author | SHA1 | Date | |
---|---|---|---|
|
ac14b2316e | ||
|
a106a8f2ca |
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ func get_ellipse_points(pos: Vector2i, size: Vector2i) -> Array[Vector2i]:
|
|||
var y0 := pos.y
|
||||
var y1 := pos.y + (size.y - 1)
|
||||
var a := absi(x1 - x0)
|
||||
var b := absi(y1 - x0)
|
||||
var b := absi(y1 - y0)
|
||||
var b1 := b & 1
|
||||
var dx := 4 * (1 - a) * b * b
|
||||
var dy := 4 * (b1 + 1) * a * a
|
||||
|
|
Loading…
Add table
Reference in a new issue