Struct Vector4f

Nested Relationships

Nested Types

Struct Documentation

struct Vector4f

Public Functions

Vector4f() = default
Vector4f(const Vector4f &other) = default
Vector4f &operator=(const Vector4f &other) = default
Vector4f(Vector4f &&other) = default
Vector4f &operator=(Vector4f &&other) = default
inline Vector4f(float x, float y, float z, float w)
inline void setZero()
inline Vector4f operator+(const Vector4f &other) const
inline Vector4f operator-(const Vector4f &other) const
inline Vector4f operator*(const Vector4f &other) const
inline Vector4f operator*(const float &mult) const
inline Vector4f operator/(const Vector4f &other) const
inline float &operator[](size_t index)
inline const float &operator[](size_t index) const

Public Members

union Vector4f::alignas data

Public Static Functions

static inline size_t byte_size()
alignas

Public Members

float v[4]
uint8_t u[16]