Documentation
¶
Index ¶
- func Abs(a int) int
- func Max(a, b int) int
- func Min(a, b int) int
- func ReadAllInput() []string
- func ReadInput(handler func(string) error) error
- func StrToInt(s string) int
- func StrToInts(s string, sep string) []int
- func VerifyIntBetween(numberSt string, min, max int) bool
- type Stack
- type Vector2
- type Vector3
- type Vector4
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadAllInput ¶
func ReadAllInput() []string
func VerifyIntBetween ¶
Types ¶
type Vector2 ¶
type Vector2 struct {
X, Y int
}
Vector2 represents a two-dimensional vector in left-handed Cartesian coordinate system
func NewVector2 ¶
func (Vector2) RotateLeft ¶
func (Vector2) RotateRight ¶
Click to show internal directories.
Click to hide internal directories.