Module linestring::vecmath_3d [−][src]
Expand description
This module is optional. To use if you must include the feature vecmath
in your Cargo.toml
file.
By default all features are enabled (this is a work-around to enable the automatic rust doc).
If you want to only enable the vecmath
feature you must first disable the default features with default-features=false
.
Cargo.toml example: linestring = {version="<current version>",default-features=false,features=["vecmath"]}
Functions
vec_math seems to lack the affine-transform-of-3d-point (matrix4x4) function i need. In order to make vec_math work the same way as cgmath and nalgebra i had to do this little hack. Todo: vecmath does not use & references to stack-objects, not even for objects as large as a 4x4 f64 matrix. nalgebra does. I wonder what’s the best choice..