wren
Vulkan-based game engine
|
#include <vector.hpp>
Public Member Functions | |
Vec3f () | |
Vec3f (const auto &other) | |
Vec3f (float x, float y, float z) | |
Vec3f (const Vec< float, 3 > &other) | |
auto | x () const |
auto | x (float x) |
auto | y () const |
auto | y (float y) |
auto | z () const |
auto | z (float z) |
auto | operator% (const Vec3f &other) const |
Public Member Functions inherited from wren::math::Vec< float, 3 > | |
Vec () | |
Vec (std::array< float, N > data) | |
Vec (float scalar) | |
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) 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, 3 > | |
using | vec_t |
Static Public Member Functions inherited from wren::math::Vec< float, 3 > | |
static auto | UnitX () |
static auto | UnitY () |
static auto | UnitZ () |
Public Attributes inherited from wren::math::Vec< float, 3 > | |
std::array< float, N > | data |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |