math.linear.vector

Undocumented in source.

Public Imports

math.linear._qv
public import math.linear._qv;

Members

Aliases

Vec2
alias Vec2(T) = Vec!(T, 2)
Undocumented in source.
Vec3
alias Vec3(T) = Vec!(T, 3)
Undocumented in source.
Vec4
alias Vec4(T) = Vec!(T, 4)
Undocumented in source.

Functions

abs
auto abs(Vec!(T, size) v)

/auto cross(T, U)(const Vec!(T,3) a, const U[3] b) { / return cross(a, Vec!(U,3)(b)); /} /auto cross(T, U)(const T[3] a, const Vec!(U,3) b) { / return cross(Vec!(T,3)(a), b); /} /auto cross(T, U)(const T[3] a, const U[3] b) { / return cross(Vec!(T,3)(a), Vec!(U,3)(b)); /} /auto dot(T, U, size_t size)(const Vec!(T,size) a, const Usize b) if (size==2||size==3) { / return dot(a,Vec!(U,size)(b)); /} /auto dot(T, U, size_t size)(const Tsize a, const Vec!(U,size) b) if (size==2||size==3) { / return dot(Vec!(T,size)(a),b); /} /auto dot(T, U, size_t size)(const Tsize a, const Usize b) if (size==2||size==3) { / return dot(Vec!(T,size)(a),Vec!(U,size)(b)); /}

cross
auto cross(Vec!(T, 3) a, Vec!(U, 3) b)
Undocumented in source. Be warned that the author may not have intended to support it.
cross
auto cross(Vec!(T, 2) a, Vec!(U, 2) b)
Undocumented in source. Be warned that the author may not have intended to support it.
distance
auto distance(Vec!(T, size) v, Vec!(U, size) w)
Undocumented in source. Be warned that the author may not have intended to support it.
dot
auto dot(Vec!(T, size) a, Vec!(U, size) b)
Undocumented in source. Be warned that the author may not have intended to support it.
inverse
Vec!(T, size) inverse(constVec!(T, size) v)
Undocumented in source. Be warned that the author may not have intended to support it.
invert
void invert(Vec!(T, size) v)
Undocumented in source. Be warned that the author may not have intended to support it.
magnitude
T magnitude(Vec!(T, size) v)
Undocumented in source. Be warned that the author may not have intended to support it.
magnitudeSquared
T magnitudeSquared(Vec!(T, size) v)
Undocumented in source. Be warned that the author may not have intended to support it.
normalize
void normalize(Vec!(T, size) v)
Undocumented in source. Be warned that the author may not have intended to support it.
normalized
Vec!(T, size) normalized(Vec!(T, size) v)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryImpl
auto opBinaryImpl(Vec!(T, size) a, Vec!(U, size) b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryImpl
auto opBinaryImpl(Vec!(T, size) a, U[size] b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryImpl
auto opBinaryImpl(T[size] a, Vec!(U, size) b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryImpl1
auto opBinaryImpl1(Vec!(T, size) a, U b)
Undocumented in source. Be warned that the author may not have intended to support it.
opBinaryImpl1
auto opBinaryImpl1(T a, Vec!(U, size) b)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssignImpl
auto opOpAssignImpl(Vec!(T, size) a, Vec!(U, size) b)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssignImpl
auto opOpAssignImpl(Vec!(T, size) a, U[size] b)
Undocumented in source. Be warned that the author may not have intended to support it.
opOpAssignImpl
auto opOpAssignImpl(Vec!(T, size) a, U b)
Undocumented in source. Be warned that the author may not have intended to support it.
rotate
auto rotate(Vec!(T, 2) v, U a)
Undocumented in source. Be warned that the author may not have intended to support it.
vec
auto vec(T[size] data)
Undocumented in source. Be warned that the author may not have intended to support it.
vec
auto vec(T data)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Vec
struct Vec(T, size_t size)
Undocumented in source.

Templates

vecMap
template vecMap(funs...)
Undocumented in source.

Meta