clean up for adding proper transform handling
This commit is contained in:
parent
28bdf476ca
commit
b89c536761
7 changed files with 143 additions and 114 deletions
|
@ -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;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
int main(int argc,char **argv) {
|
||||
|
||||
pw::vector4<float> v4;
|
||||
pw::vector4_<float> v4;
|
||||
|
||||
v4.fill(1.5);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue