Prototypes | Header File(s) | |
RWMathVec<float> |
toFloat(const RWMathVec<double>&) |
<rw/math/mathvec.h> |
RWGenMat<float> |
toFloat(const RWGenMat<double>&) |
<rw/math/genmat.h> |
RWMathArray<float> |
toFloat(const RWMathArray<double>&) |
<rw/math/mtharray.h> |
Converts a vector or a matrix of doubles into a corresponding vector, matrix, or array of floats. Note that this is a narrowing operation; high order bits are removed. See also RWConvertMathVec, RWConvertGenMat, and RWConvertMathArray in the Math.h++ Class Reference.