math

package
Version: v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: MIT Imports: 0 Imported by: 8

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

Source Files

Jump to

Keyboard shortcuts

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