Changeset 336 in flair-src for trunk/lib/FlairCore/src/Vector2D.cpp
- Timestamp:
- Oct 8, 2019, 4:41:35 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairCore/src/Vector2D.cpp
r167 r336 92 92 template <typename T> void Vector2D<T>::RotateDeg(float value) { Rotate(Euler::ToRadian(value)); } 93 93 94 template <typename T> float Vector2D<T>::GetNorm(void) const { return sqrt (x * x + y * y); }94 template <typename T> float Vector2D<T>::GetNorm(void) const { return sqrtf(x * x + y * y); } 95 95 96 96 template <typename T> void Vector2D<T>::Normalize(void) {
Note:
See TracChangeset
for help on using the changeset viewer.