clean up for adding proper transform handling

This commit is contained in:
Hartmut Seichter 2019-01-07 16:35:22 +01:00
parent 28bdf476ca
commit b89c536761
7 changed files with 143 additions and 114 deletions

View file

@ -5,7 +5,7 @@
int main(int argc,char **argv) {
pw::quaternion<float> qf = pw::quaternionf::rotate_90_degree_around_x();
pw::quaternion_<float> qf = pw::quaternionf::rotate_90_degree_around_x();
std::cout << "qf = " << pw::serialize::matrix(qf.as_vector()) << std::endl;
std::cout << "qf.matrix() = " << pw::serialize::matrix(qf.to_matrix()) << std::endl;

View file

@ -6,7 +6,7 @@
int main(int argc,char **argv) {
pw::vector4<float> v4;
pw::vector4_<float> v4;
v4.fill(1.5);