util

package
Version: v4.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2021 License: GPL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Point

type Point struct {
	X int32
	Y int32
}

Point is a simple point in a 2D plane

func Points

func Points(center int32, r float64, count int) []Point

Points generates a circle center at (center, center) with radius r and count points points are returned clockwise array

Source Files

Jump to

Keyboard shortcuts

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