poking around to make a somewhat workable factory pattern

This commit is contained in:
Hartmut Seichter 2019-01-23 19:33:33 +01:00
parent 36683d6288
commit 0809d9c54b
8 changed files with 56 additions and 58 deletions

View file

@ -60,6 +60,7 @@ struct vector3_ : matrix_<3,1,T> {
using base_type::base_type;
using base_type::operator = ;
vector3_() : base_type() {}
vector3_(const base_type& m) : base_type(m) {}
vector3_(T x_,T y_,T z_) : base_type({x_,y_,z_}) {}