edge

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func All

所有方向都设置为同一个值

func Zero

func Zero() (float32, float32, float32, float32)

所有方向的值都为零

Types

type EdgeDirection

type EdgeDirection uint8
const (
	Top EdgeDirection = iota
	Left
	Bottom
	Right
)

func (EdgeDirection) FromDirection

func (p EdgeDirection) FromDirection(v float32) (float32, float32, float32, float32)

从方向设置值

Jump to

Keyboard shortcuts

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