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


Ignore:
Timestamp:
Oct 8, 2019, 4:41:35 PM (2 years ago)
Author:
Sanahuja Guillaume
Message:

use float

File:
1 edited

Legend:

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

    r167 r336  
    9292template <typename T> void Vector2D<T>::RotateDeg(float value) { Rotate(Euler::ToRadian(value)); }
    9393
    94 template <typename T> float Vector2D<T>::GetNorm(void) const { return sqrt(x * x + y * y); }
     94template <typename T> float Vector2D<T>::GetNorm(void) const { return sqrtf(x * x + y * y); }
    9595
    9696template <typename T> void Vector2D<T>::Normalize(void) {
Note: See TracChangeset for help on using the changeset viewer.