linearly v0.32.0 • Docs
linearly v0.32.0 / vec4
vec4
Functions for vec4, a 4D vector.
Index
Types
Constants
Generators
Functions
- abs
- acos
- add
- approxEquals
- asin
- atan
- atan2
- average
- avg
- ceil
- clamp
- cos
- cross
- degrees
- delta
- dist
- distance
- div
- divide
- dot
- efit
- exactEquals
- exp
- exp2
- fit
- floor
- fract
- inverseLerp
- inverseSqrt
- invert
- invlerp
- len
- length
- lerp
- log
- log2
- max
- min
- mix
- mod
- mul
- multiply
- neg
- negate
- normalize
- oneMinus
- pow
- quantize
- radians
- round
- scale
- scaleAndAdd
- sign
- sin
- smoothstep
- sqrDist
- sqrLen
- sqrt
- squaredDistance
- squaredLength
- step
- sub
- subtract
- tan
- toString
- transformMat4
- transformQuat
- trunc