ws.math.vector

Undocumented in source.

Members

Aliases

h
alias h = y
Undocumented in source.
len
alias len = length
Undocumented in source.
w
alias w = x
Undocumented in source.

Functions

add
T add(T data, T other)
Undocumented in source. Be warned that the author may not have intended to support it.
asqrt
T asqrt(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
div
T[N] div(T[N] data, T val)
Undocumented in source. Be warned that the author may not have intended to support it.
dot
T dot(T[N] data, T[N] other)
Undocumented in source. Be warned that the author may not have intended to support it.
length
auto length(T array)
Undocumented in source. Be warned that the author may not have intended to support it.
mul
T[N] mul(T[N] data, T val)
Undocumented in source. Be warned that the author may not have intended to support it.
normal
T normal(T array)
Undocumented in source. Be warned that the author may not have intended to support it.
sub
T sub(T data, T other)
Undocumented in source. Be warned that the author may not have intended to support it.
vec
auto vec(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.
vec
Vector!Size vec(Type[Size] data)
Undocumented in source. Be warned that the author may not have intended to support it.
x
T x(T[] array)
Undocumented in source. Be warned that the author may not have intended to support it.
y
T y(T[] array)
Undocumented in source. Be warned that the author may not have intended to support it.
z
T z(T[] array)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Vector
struct Vector(size_t Size = 3, Type = float)
Undocumented in source.

Meta