@@ -370,13 +370,6 @@ namespace RTE {
370
370
// / <returns>The resulting Vector.</returns>
371
371
friend Vector operator +(const Vector &lhs, const Vector &rhs) { Vector returnVector (lhs.m_X + rhs.m_X , lhs.m_Y + rhs.m_Y ); return returnVector; }
372
372
373
- // / <summary>
374
- // / Subtraction operator overload for a Vector and a float.
375
- // / </summary>
376
- // / <param name="rhs">A float reference as the right hand side operand.</param>
377
- // / <returns>The resulting Vector.</returns>
378
- Vector operator -(const float &rhs) const { Vector returnVector (m_X - rhs, m_Y - rhs); return returnVector; }
379
-
380
373
// / <summary>
381
374
// / Subtraction operator overload for Vectors.
382
375
// / </summary>
@@ -423,13 +416,6 @@ namespace RTE {
423
416
return returnVector;
424
417
}
425
418
426
- // / <summary>
427
- // / Self-addition operator overload for a Vector and a float.
428
- // / </summary>
429
- // / <param name="rhs">A float reference as the right hand side operand.</param>
430
- // / <returns>A reference to the resulting Vector.</returns>
431
- Vector & operator +=(const float &rhs) { m_X += rhs; m_Y += rhs; return *this ; }
432
-
433
419
// / <summary>
434
420
// / Self-addition operator overload for Vectors.
435
421
// / </summary>
@@ -438,13 +424,6 @@ namespace RTE {
438
424
// / <returns>A reference to the resulting Vector (the left one).</returns>
439
425
friend Vector & operator +=(Vector &lhs, const Vector &rhs) { lhs.m_X += rhs.m_X ; lhs.m_Y += rhs.m_Y ; return lhs; }
440
426
441
- // / <summary>
442
- // / Self-subtraction operator overload for a Vector and a float.
443
- // / </summary>
444
- // / <param name="rhs">A float reference as the right hand side operand.</param>
445
- // / <returns>A reference to the resulting Vector.</returns>
446
- Vector & operator -=(const float &rhs) { m_X -= rhs; m_Y -= rhs; return *this ; }
447
-
448
427
// / <summary>
449
428
// / Self-subtraction operator overload for Vectors.
450
429
// / </summary>
0 commit comments