Added non-const pointer accessor.

This commit is contained in:
Marco Di Benedetto 2009-03-19 11:12:23 +00:00
parent c5ad3694bd
commit 0e2bc54b52
1 changed files with 5 additions and 1 deletions

View File

@ -89,7 +89,11 @@ public:
inline const ScalarType &Y() const {return _v[1];}
inline ScalarType &X() {return _v[0];}
inline ScalarType &Y() {return _v[1];}
inline const ScalarType * V() const
inline const ScalarType * V() const
{
return _v;
}
inline ScalarType * V()
{
return _v;
}