Changeset 336 in flair-src for trunk/lib/FlairCore/src/Vector3D.cpp


Ignore:
Timestamp:
10/08/19 16:41:35 (2 years ago)
Author:
Sanahuja Guillaume
Message:

use float

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/Vector3D.cpp

    r167 r336  
    218218}
    219219
    220 template <typename T> float Vector3D<T>::GetNorm(void) const { return sqrt(x * x + y * y + z * z); }
     220template <typename T> float Vector3D<T>::GetNorm(void) const { return sqrtf(x * x + y * y + z * z); }
    221221
    222222template <typename T> void Vector3D<T>::Normalize(void) {
Note: See TracChangeset for help on using the changeset viewer.