package
0.0.0-20240926133928-8e5a07668fa5
Repository: https://github.com/johanhenriksson/goworld.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
Based on code from github.com/go-gl/mathgl: Copyright 2014 The go-gl Authors.
Based on code from github.com/go-gl/mathgl: Copyright 2014 The go-gl Authors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
Abs returns the absolute value of a number.
No description provided by the author
No description provided by the author
No description provided by the author
Ceil a number to the closest integer.
Clamp a value between a minimum and a maximum value.
No description provided by the author
Cos computes the cosine of x.
DegToRad converts degrees to radians.
Equal checks two floats for (approximate) equality.
EqualThreshold is a utility function to compare floats.
Floor a number to the closest integer.
Lerp performs linear interpolation between a and b.
Max returns the greater of two numbers.
Min returns the smaller of two numbers.
Mod returns the remainder of a floating point division.
NewNoise creates a new noise struct from a seed value and a frequency factor.
No description provided by the author
RadToDeg converts radians to degrees.
No description provided by the author
Sign returns the sign of x (-1 or 1).
Sin computes the sine of x.
No description provided by the author
No description provided by the author
Sqrt returns the square root of a number.
Tan computes the tangent of x.
# Variables
Various useful constants.
Various useful constants.
Various useful constants.
Various useful constants.
Various useful constants.
1 / 2**(127 - 1).
Various useful constants.
Various useful constants.
Various useful constants.
Various useful constants.
Various useful constants.
Various useful constants.