Documentation ¶
Overview ¶
This file is generated by codegen.go; DO NOT EDIT!
Index ¶
- func Abs(x float32) float32
- func Ceil(x float32) float32
- func Clamp(val, min, max float32) float32
- func Cos(x float32) float32
- func Floor(x float32) float32
- func Hypot(p, q float32) float32
- func InterpolateBicubic(left, mid, right *Mat, a float32) float32
- func InterpolateBilinear(v00, v01, v10, v11, fx, fy float32) float32
- func InterpolateLinear(v0, v1, t float32) float32
- func Max(x, y float32) float32
- func Min(x, y float32) float32
- func Mod(x, y float32) float32
- func NewMat(m, n int) func(data ...float32) *Mat
- func NewVec(n int) func(data ...float32) *Vec
- func Pow(x, y float32) float32
- func Pow10(n int) float32
- func Round(x float32) float32
- func RoundN(x float32, n int) float32
- func Sin(x float32) float32
- func Sinc(x float32) float32
- func Sincos(x float32) (float32, float32)
- func Sqrt(x float32) float32
- func Tan(x float32) float32
- type Mat
- func (m1 *Mat) Add(m2 *Mat) *Mat
- func (m *Mat) At(i, j int) float32
- func (m *Mat) Col(j int) *Vec
- func (m *Mat) Copy() *Mat
- func (m *Mat) Det() float32
- func (m *Mat) Mul(c float32) *Mat
- func (m1 *Mat) MulMat(m2 *Mat) *Mat
- func (m *Mat) Row(i int) *Vec
- func (m *Mat) Set(i, j int, value float32)
- func (m *Mat) String() string
- func (m1 *Mat) Sub(m2 *Mat) *Mat
- func (m *Mat) Trace() float32
- func (m *Mat) Transpose() *Mat
- type Mat2
- func (m1 Mat2) Add(m2 Mat2) Mat2
- func (m Mat2) At(i, j int) float32
- func (m Mat2) Col(j int) Vec2
- func (m Mat2) Det() float32
- func (m Mat2) Mul(c float32) Mat2
- func (m1 Mat2) MulMat2(m2 Mat2) Mat2
- func (m1 Mat2) MulMat2x1(m2 Vec2) Vec2
- func (m1 Mat2) MulMat2x3(m2 Mat2x3) Mat2x3
- func (m1 Mat2) MulMat2x4(m2 Mat2x4) Mat2x4
- func (m Mat2) Row(i int) Vec2
- func (m Mat2) Set(i, j int, value float32)
- func (m Mat2) String() string
- func (m1 Mat2) Sub(m2 Mat2) Mat2
- func (m Mat2) Trace() float32
- func (m Mat2) Transpose() Mat2
- type Mat2x3
- func (m1 Mat2x3) Add(m2 Mat2x3) Mat2x3
- func (m Mat2x3) At(i, j int) float32
- func (m Mat2x3) Col(j int) Vec2
- func (m Mat2x3) Mul(c float32) Mat2x3
- func (m1 Mat2x3) MulMat3(m2 Mat3) Mat2x3
- func (m1 Mat2x3) MulMat3x1(m2 Vec3) Vec2
- func (m1 Mat2x3) MulMat3x2(m2 Mat3x2) Mat2
- func (m1 Mat2x3) MulMat3x4(m2 Mat3x4) Mat2x4
- func (m Mat2x3) Row(i int) Vec3
- func (m Mat2x3) Set(i, j int, value float32)
- func (m Mat2x3) String() string
- func (m1 Mat2x3) Sub(m2 Mat2x3) Mat2x3
- func (m Mat2x3) Transpose() Mat3x2
- type Mat2x4
- func (m1 Mat2x4) Add(m2 Mat2x4) Mat2x4
- func (m Mat2x4) At(i, j int) float32
- func (m Mat2x4) Col(j int) Vec2
- func (m Mat2x4) Mul(c float32) Mat2x4
- func (m1 Mat2x4) MulMat4(m2 Mat4) Mat2x4
- func (m1 Mat2x4) MulMat4x1(m2 Vec4) Vec2
- func (m1 Mat2x4) MulMat4x2(m2 Mat4x2) Mat2
- func (m1 Mat2x4) MulMat4x3(m2 Mat4x3) Mat2x3
- func (m Mat2x4) Row(i int) Vec4
- func (m Mat2x4) Set(i, j int, value float32)
- func (m Mat2x4) String() string
- func (m1 Mat2x4) Sub(m2 Mat2x4) Mat2x4
- func (m Mat2x4) Transpose() Mat4x2
- type Mat3
- func (m1 Mat3) Add(m2 Mat3) Mat3
- func (m Mat3) At(i, j int) float32
- func (m Mat3) Col(j int) Vec3
- func (m Mat3) Det() float32
- func (m Mat3) Mul(c float32) Mat3
- func (m1 Mat3) MulMat3(m2 Mat3) Mat3
- func (m1 Mat3) MulMat3x1(m2 Vec3) Vec3
- func (m1 Mat3) MulMat3x2(m2 Mat3x2) Mat3x2
- func (m1 Mat3) MulMat3x4(m2 Mat3x4) Mat3x4
- func (m Mat3) Row(i int) Vec3
- func (m Mat3) Set(i, j int, value float32)
- func (m Mat3) String() string
- func (m1 Mat3) Sub(m2 Mat3) Mat3
- func (m Mat3) Trace() float32
- func (m Mat3) Transpose() Mat3
- type Mat3x2
- func (m1 Mat3x2) Add(m2 Mat3x2) Mat3x2
- func (m Mat3x2) At(i, j int) float32
- func (m Mat3x2) Col(j int) Vec3
- func (m Mat3x2) Mul(c float32) Mat3x2
- func (m1 Mat3x2) MulMat2(m2 Mat2) Mat3x2
- func (m1 Mat3x2) MulMat2x1(m2 Vec2) Vec3
- func (m1 Mat3x2) MulMat2x3(m2 Mat2x3) Mat3
- func (m1 Mat3x2) MulMat2x4(m2 Mat2x4) Mat3x4
- func (m Mat3x2) Row(i int) Vec2
- func (m Mat3x2) Set(i, j int, value float32)
- func (m Mat3x2) String() string
- func (m1 Mat3x2) Sub(m2 Mat3x2) Mat3x2
- func (m Mat3x2) Transpose() Mat2x3
- type Mat3x4
- func (m1 Mat3x4) Add(m2 Mat3x4) Mat3x4
- func (m Mat3x4) At(i, j int) float32
- func (m Mat3x4) Col(j int) Vec3
- func (m Mat3x4) Mul(c float32) Mat3x4
- func (m1 Mat3x4) MulMat4(m2 Mat4) Mat3x4
- func (m1 Mat3x4) MulMat4x1(m2 Vec4) Vec3
- func (m1 Mat3x4) MulMat4x2(m2 Mat4x2) Mat3x2
- func (m1 Mat3x4) MulMat4x3(m2 Mat4x3) Mat3
- func (m Mat3x4) Row(i int) Vec4
- func (m Mat3x4) Set(i, j int, value float32)
- func (m Mat3x4) String() string
- func (m1 Mat3x4) Sub(m2 Mat3x4) Mat3x4
- func (m Mat3x4) Transpose() Mat4x3
- type Mat4
- func (m1 Mat4) Add(m2 Mat4) Mat4
- func (m Mat4) At(i, j int) float32
- func (m Mat4) Col(j int) Vec4
- func (m Mat4) Det() float32
- func (m Mat4) Mul(c float32) Mat4
- func (m1 Mat4) MulMat4(m2 Mat4) Mat4
- func (m1 Mat4) MulMat4x1(m2 Vec4) Vec4
- func (m1 Mat4) MulMat4x2(m2 Mat4x2) Mat4x2
- func (m1 Mat4) MulMat4x3(m2 Mat4x3) Mat4x3
- func (m Mat4) Row(i int) Vec4
- func (m Mat4) Set(i, j int, value float32)
- func (m Mat4) String() string
- func (m1 Mat4) Sub(m2 Mat4) Mat4
- func (m Mat4) Trace() float32
- func (m Mat4) Transpose() Mat4
- type Mat4x2
- func (m1 Mat4x2) Add(m2 Mat4x2) Mat4x2
- func (m Mat4x2) At(i, j int) float32
- func (m Mat4x2) Col(j int) Vec4
- func (m Mat4x2) Mul(c float32) Mat4x2
- func (m1 Mat4x2) MulMat2(m2 Mat2) Mat4x2
- func (m1 Mat4x2) MulMat2x1(m2 Vec2) Vec4
- func (m1 Mat4x2) MulMat2x3(m2 Mat2x3) Mat4x3
- func (m1 Mat4x2) MulMat2x4(m2 Mat2x4) Mat4
- func (m Mat4x2) Row(i int) Vec2
- func (m Mat4x2) Set(i, j int, value float32)
- func (m Mat4x2) String() string
- func (m1 Mat4x2) Sub(m2 Mat4x2) Mat4x2
- func (m Mat4x2) Transpose() Mat2x4
- type Mat4x3
- func (m1 Mat4x3) Add(m2 Mat4x3) Mat4x3
- func (m Mat4x3) At(i, j int) float32
- func (m Mat4x3) Col(j int) Vec4
- func (m Mat4x3) Mul(c float32) Mat4x3
- func (m1 Mat4x3) MulMat3(m2 Mat3) Mat4x3
- func (m1 Mat4x3) MulMat3x1(m2 Vec3) Vec4
- func (m1 Mat4x3) MulMat3x2(m2 Mat3x2) Mat4x2
- func (m1 Mat4x3) MulMat3x4(m2 Mat3x4) Mat4
- func (m Mat4x3) Row(i int) Vec3
- func (m Mat4x3) Set(i, j int, value float32)
- func (m Mat4x3) String() string
- func (m1 Mat4x3) Sub(m2 Mat4x3) Mat4x3
- func (m Mat4x3) Transpose() Mat3x4
- type Vec
- type Vec2
- type Vec3
- type Vec4
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterpolateBicubic ¶
func InterpolateBilinear ¶
func InterpolateLinear ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.