Vector4 subclass instead of typedef

This commit is contained in:
Eryn Wells 2014-08-08 21:12:37 -07:00
parent 2b9fec5d82
commit da127ccde3
2 changed files with 60 additions and 1 deletions

View file

@ -19,7 +19,16 @@ struct Vector
{ };
typedef Vector<4> Vector4;
struct Vector4
: public Vector<4>
{
Vector4();
Vector4(Double x, Double y, Double z);
Double& X();
Double& Y();
Double& Z();
};
} /* namespace basics */
} /* namespace charles */