File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/content/docs/Language Common Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,11 @@ The `std::math` module contains a wealth of additional operations available on v
4747- ` .max() ` - get the maximum element.
4848- ` .min() ` - get the minimum element.
4949- ` .dot(other) ` - return the dot product with the other vector.
50- - ` .length(other ) ` - return the square root of the dot product (not available on integer vectors).
50+ - ` .length() ` - return the square root of the dot product (not available on integer vectors).
5151- ` .distance(other) ` - return the length of the difference of the two vectors (not available on integer vectors).
5252- ` .normalize() ` - return a normalized vector (not available on integer vectors).
53+ - ` .lerp(other, t) ` - linearly interpolate toward other by t.
54+ - ` .reflect(other) ` - reflect vector about other (assumes other is normalized).
5355- ` .comp_lt(other) ` - return a boolean vector with a component wise "<"
5456- ` .comp_le(other) ` - return a boolean vector with a component wise "<="
5557- ` .comp_eq(other) ` - return a boolean vector with a component wise "=="
You can’t perform that action at this time.
0 commit comments