math

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2022 License: MIT Imports: 0 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Max

func Max(a, b int) int

Max returns the maximum between 2 integers

func Min

func Min(a, b int) int

Min returns the minimum between 2 integers

Types

type Vector2

type Vector2 struct {
	X float64
	Y float64
}

Vector2 type

type VectorInt2

type VectorInt2 struct {
	X int
	Y int
}

VectorInt2 type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL