- crossVector!(T, 3) cross(Vector!(T, 3) a, Vector!(T, 3) b) 
- Returns the cross product between two 3D Vectors. 
- dotT dot(Vector!(T, N) a, Vector!(T, N) b) 
- Returns the dot product between two Vectors. 
- lerp (from bettercmath.misc)T lerp(T[2] fromTo, U amount) via public 
import bettercmath.misc : lerp; 
- Linearly interpolates the values from fromTo by amount. 
- magnitudeauto  magnitude(Vector!(T, N) vec) 
- Returns the magnitude (Euclidean length) of a Vector. 
- magnitudeSquaredT magnitudeSquared(Vector!(T, N) vec) 
- Returns the squared magnitude (Euclidean length) of a Vector. 
- mapVector!(typeof(mapfunc(cast(T)0)), N) map(Vector!(T, N) vec) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
- normalizeVector!(T, N) normalize(Vector!(T, N) vec) 
- Normalize a Vector inplace. 
- normalizedVector!(T, N) normalized(Vector!(T, N) vec) 
- Returns a normalized copy of Vector. 
- reflectVector!(T, N) reflect(Vector!(T, N) vec, Vector!(T, N) normal) 
- Returns a Vector that is the reflection of vec against normal. 
- vectorVector!(T, N) vector(T[N] elements) 
- Construct Vector directly from static array, inferring element type. 
Type and dimension generic Vector backed by a static array.