diff options
author | Erik Schnetter <schnetter@gmail.com> | 2013-02-14 16:53:31 -0500 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2013-02-14 16:53:31 -0500 |
commit | 01fe3ddc0e19aa909acdda641fe9bc446d75e3b5 (patch) | |
tree | e970701f69729da79af81953431d5ad286c51638 /vec_pseudo.h | |
parent | 223219a4506b46a2009e858ad74566efbee5f447 (diff) | |
download | vecmathlib-01fe3ddc0e19aa909acdda641fe9bc446d75e3b5.zip vecmathlib-01fe3ddc0e19aa909acdda641fe9bc446d75e3b5.tar.gz |
Shorten floatprops<T> to FP
Diffstat (limited to 'vec_pseudo.h')
-rw-r--r-- | vec_pseudo.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vec_pseudo.h b/vec_pseudo.h index ee2b1e0..e76cd00 100644 --- a/vec_pseudo.h +++ b/vec_pseudo.h @@ -524,13 +524,13 @@ namespace vecmathlib { intvec_t as_int() const { intvec_t res; - for (int d=0; d<size; ++d) res.v[d] = as_int(v[d]); + for (int d=0; d<size; ++d) res.v[d] = FP::as_int(v[d]); return res; } intvec_t convert_int() const { intvec_t res; - for (int d=0; d<size; ++d) res.v[d] = floatprops<T>::convert_int(v[d]); + for (int d=0; d<size; ++d) res.v[d] = FP::convert_int(v[d]); return res; } @@ -770,7 +770,7 @@ namespace vecmathlib { inline auto intpseudovec<T,N>::as_float() const -> realvec_t { realvec_t res; - for (int d=0; d<size; ++d) res.v[d] = as_float(v[d]); + for (int d=0; d<size; ++d) res.v[d] = FP::as_float(v[d]); return res; } @@ -778,7 +778,7 @@ namespace vecmathlib { inline auto intpseudovec<T,N>::convert_float() const -> realvec_t { realvec_t res; - for (int d=0; d<size; ++d) res.v[d] = floatprops<T>::convert_float(v[d]); + for (int d=0; d<size; ++d) res.v[d] = FP::convert_float(v[d]); return res; } |