template<typename T>
Vector4 struct
Base classes
-
template<typename T>struct BaseVec4<T>
Public static variables
Constructors, destructors, conversion operators
Public functions
- auto operator=(const Vector4& other) -> Vector4&
- auto operator+=(const Vector4& other) -> Vector4&
- auto operator-=(const Vector4& other) -> Vector4&
- auto operator*=(T t) -> Vector4&
- auto operator/=(T t) -> Vector4&
- auto operator==(const Vector4& rhs) const -> bool
- auto operator!=(const Vector4& rhs) const -> bool
- auto normalize() -> T
- void negate()
- auto length() const -> T
- auto squaredLength() const -> T
- void set(const Vector4& v)
- void set(T x_, T y_, T z_, T w_)
- auto zero(0. 0f, 0. 0f, 0. 0f, 0. 0f) -> const Vector4<f32>
- auto ex(1. 0f, 0. 0f, 0. 0f, 0. 0f) -> const Vector4<f32>
- auto ey(0. 0f, 1. 0f, 0. 0f, 0. 0f) -> const Vector4<f32>
- auto ez(0. 0f, 0. 0f, 1. 0f, 0. 0f) -> const Vector4<f32>
- auto ew(0. 0f, 0. 0f, 0. 0f, 1. 0f) -> const Vector4<f32>
- auto ones(1. 0f, 1. 0f, 1. 0f, 1. 0f) -> const Vector4<f32>
Public variables
Friends
Function documentation
template<typename T>
sead:: Vector4<T>:: Vector4()
#include <modules/src/math/seadVector.cpp>
template<typename T>
const Vector4<f32> sead:: Vector4<T>:: zero(0. 0f,
0. 0f,
0. 0f,
0. 0f)
#include <modules/src/math/seadVector.cpp>
template<typename T>
const Vector4<f32> sead:: Vector4<T>:: ex(1. 0f,
0. 0f,
0. 0f,
0. 0f)
#include <modules/src/math/seadVector.cpp>
template<typename T>
const Vector4<f32> sead:: Vector4<T>:: ey(0. 0f,
1. 0f,
0. 0f,
0. 0f)
#include <modules/src/math/seadVector.cpp>
template<typename T>
const Vector4<f32> sead:: Vector4<T>:: ez(0. 0f,
0. 0f,
1. 0f,
0. 0f)
#include <modules/src/math/seadVector.cpp>
template<typename T>
const Vector4<f32> sead:: Vector4<T>:: ew(0. 0f,
0. 0f,
0. 0f,
1. 0f)
#include <modules/src/math/seadVector.cpp>
template<typename T>
const Vector4<f32> sead:: Vector4<T>:: ones(1. 0f,
1. 0f,
1. 0f,
1. 0f)
Variable documentation
#include <math/seadMathBase.h>
template<typename T>
T sead:: Vector4<T>:: x
#include <math/seadMathBase.h>
template<typename T>
T sead:: Vector4<T>:: y
#include <math/seadMathBase.h>
template<typename T>
T sead:: Vector4<T>:: z
#include <math/seadMathBase.h>
template<typename T>
T sead:: Vector4<T>:: w
#include <math/seadMathBase.h>
template<typename T>
std::array<T, 4> sead:: Vector4<T>:: e
#include <math/seadMathBase.h>
template<typename T>
union sead::BaseVec4::@8 sead:: Vector4<T>:: @9