VecPP / vecpp

A simple C++17 vector math library
Boost Software License 1.0
10 stars 4 forks source link

Angle<> needs alternative formatting #23

Open FrancoisChabot opened 6 years ago

FrancoisChabot commented 6 years ago

Right now, we force the printing as degrees with a unicode ° postfix.

Ideally, we'd want to do something similar to the STL:

Angle<float> angle = Angle<float>::from_deg(180);

std::cout << vecpp::io::rad << angle << "\n".