Documentation
¶
Index ¶
- type Gamepoint
- type Screenpoint
- type Util
- func (u *Util) Accelerate(v, accel float64, dt float64) float64
- func (u *Util) EaseIn(a, b, percent float64) float64
- func (u *Util) EaseInOut(a, b, percent float64) float64
- func (u *Util) EaseOut(a, b, percent float64) float64
- func (u *Util) Increase(start float64, increment float64, max float64) float64
- func (u *Util) Interpolate(a, b, percent float64) float64
- func (u *Util) Limit(value, min, max float64) float64
- func (u *Util) ParseHexColor(hex string) (int, int, int, int)
- func (u *Util) PercentRemaining(n, total int) float64
- func (u *Util) Project(gp *Gamepoint, ...)
- type Zpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gamepoint ¶
type Gamepoint struct { World Zpoint Camera Zpoint Screen Screenpoint }
type Screenpoint ¶
type Util ¶
type Util struct { }
func (*Util) Interpolate ¶
func (*Util) PercentRemaining ¶
Click to show internal directories.
Click to hide internal directories.