|
@@ -134,21 +134,6 @@ TReal aiVector2t<TReal>::operator[](unsigned int i) const {
|
|
|
return x;
|
|
|
}
|
|
|
|
|
|
-// ------------------------------------------------------------------------------------------------
|
|
|
-template <typename TReal>
|
|
|
-inline
|
|
|
-TReal& aiVector2t<TReal>::operator[](unsigned int i) {
|
|
|
- switch (i) {
|
|
|
- case 0:
|
|
|
- return x;
|
|
|
- case 1:
|
|
|
- return y;
|
|
|
- default:
|
|
|
- break;
|
|
|
- }
|
|
|
- return x;
|
|
|
-}
|
|
|
-
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
template <typename TReal>
|
|
|
inline
|