| wren
    Vulkan-based game engine | 
#include <vector.hpp>


| Public Member Functions | |
| Vec2f () | |
| Vec2f (float x, float y) | |
| Vec2f (const Vec< float, 2 > &other) | |
| auto | x () const | 
| auto | x (float x) | 
| auto | y () const | 
| auto | y (float y) | 
|  Public Member Functions inherited from wren::math::Vec< float, 2 > | |
| Vec () | |
| Vec (std::array< float, N > data) | |
| Vec (float scalar) | |
| Vec (Args... args) | |
| auto | xyz () const | 
| auto | at (std::size_t i) -> float & | 
| auto | at (std::size_t i) const | 
| constexpr auto | operator*= (float scalar) const | 
| constexpr auto | operator*= (const vec_t &other) | 
| constexpr auto | operator* (float scalar) const | 
| constexpr auto | operator* (const vec_t &other) const | 
| constexpr auto | dot (const vec_t &other) const | 
| constexpr auto | operator+= (const vec_t &other) | 
| constexpr auto | operator+ (const vec_t &other) const | 
| constexpr auto | operator-= (const vec_t &other) | 
| constexpr auto | operator- (const vec_t &other) const | 
| constexpr auto | operator- () const | 
| auto | operator/ (float scalar) const | 
| constexpr auto | operator== (const vec_t &other) const | 
| constexpr auto | operator!= (const vec_t &other) const | 
| constexpr auto | length () const | 
| auto | normalized () const | 
| Additional Inherited Members | |
|  Public Types inherited from wren::math::Vec< float, 2 > | |
| using | vec_t | 
|  Static Public Member Functions inherited from wren::math::Vec< float, 2 > | |
| static auto | unit_x () | 
| static auto | unit_y () | 
| static auto | unit_z () | 
|  Public Attributes inherited from wren::math::Vec< float, 2 > | |
| std::array< float, N > | data | 
| 
 | inline | 

| 
 | inline | 

| 
 | inline | 

| 
 | inlinenodiscard | 

| 
 | inline | 

| 
 | inlinenodiscard | 

| 
 | inline | 
