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