This commit is contained in:
Josh Deprez 2021-08-28 17:51:31 +10:00
parent 6f3c6c88c0
commit 2674234d62

View file

@ -44,7 +44,7 @@ type Parallax float64
// ParallaxFactor returns s as a float64. // ParallaxFactor returns s as a float64.
func (s Parallax) ParallaxFactor() float64 { return float64(s) } func (s Parallax) ParallaxFactor() float64 { return float64(s) }
// ZOrder implements DrawOrderer directly (as a float64 value). // ZOrder implements DrawOrder (in Drawer) directly (as a float64 value).
type ZOrder float64 type ZOrder float64
// DrawOrder returns z as a float64. // DrawOrder returns z as a float64.