Added non-const pointer accessor.
This commit is contained in:
parent
c5ad3694bd
commit
0e2bc54b52
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue