gmath

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clamp added in v1.0.1

func Clamp[T gx.Number](value, min, max T) T

Clamp 将值限制在 min 和 max 之间

func Max

func Max[T gx.Number](values ...T) T

取最大值

func Min

func Min[T gx.Number](values ...T) T

取最小值

Types

This section is empty.

Jump to

Keyboard shortcuts

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