Calculates a normalized vector that has length equal to 1.
| 228 | /// Calculates a normalized vector that has length equal to 1. |
| 229 | /// </summary> |
| 230 | Vector2Base GetNormalized() const |
| 231 | { |
| 232 | Vector2Base result(X, Y); |
| 233 | result.Normalize(); |
| 234 | return result; |
| 235 | } |
| 236 | |
| 237 | public: |
| 238 | /// <summary> |
no test coverage detected