Documentation ¶
Index ¶
- Constants
- func ExtensionFromMime(mime string) string
- func Interpolate(start, end, position float64) float64
- func InterpolateExponential(start, end, position float64) float64
- func InterpolateRect(bottomleft, bottomright, topleft, topright, x, y float64) float64
- func RoundUpDiv(dividend, divisor int) int
- func SquareFloat64(x float64) float64
- func SquareInt(x int) int
- type OrientationRandom
Constants ¶
View Source
const ( PRIME = 1610612741 BITS = 30 MASK = (1 << BITS) - 1 SCALING = 1.0 / float64(1<<BITS) )
Variables ¶
This section is empty.
Functions ¶
func ExtensionFromMime ¶
func Interpolate ¶
func InterpolateExponential ¶
func InterpolateRect ¶
func RoundUpDiv ¶
func SquareFloat64 ¶
Types ¶
type OrientationRandom ¶
type OrientationRandom struct {
// contains filtered or unexported fields
}
func NewOrientationRandom ¶
func NewOrientationRandom() *OrientationRandom
func (*OrientationRandom) Float64 ¶
func (or *OrientationRandom) Float64() float64
Click to show internal directories.
Click to hide internal directories.