moved component out and about

This commit is contained in:
Hartmut Seichter 2018-04-03 17:35:25 +02:00
parent 75d55faa31
commit 75fb4c27f7
7 changed files with 59 additions and 29 deletions

View file

@ -104,9 +104,11 @@ public:
return vector<4,T>(x(),y(),z(),w);
}
#if _GCC_STUPID_
inline std::tuple<T,T,T> values() const {
return std::make_tuple(x(),y(),z());
}
#endif

View file

@ -12,7 +12,6 @@ int main(int argc,char **argv) {
std::cout << "m = " << pw::serialize::matrix(m) << std::endl;
std::cout << "row_stride() : " << m.row_stride() << std::endl;
std::cout << "col_stride() : " << m.col_stride() << std::endl;
std::cout << "rows() : " << m.rows() << std::endl;