:orphan: vec2: vec2(float _value) ======================== Construct a (*_value*, *_value*) vector. :math:`\begin{bmatrix} \_value \\ \_value \end{bmatrix}` Example ------- .. code-block:: cpp #include "include/vec2.h" #include int main() { nml::vec2 v(1.0f); std::cout << nml::to_string(v) << std::endl; return 0; } Result: .. code-block:: [1.000000, 1.000000]