TheAtlasEngine
 
Loading...
Searching...
No Matches
atlas::vector4< T > Struct Template Reference

vector4<T> is to define a centralized wrapper as a mathematical representaiton for communicating vector3 types from frameworks to glm::vec3 More...

#include <types.hpp>

Public Member Functions

 vector4 (const T &p_other)
 
 vector4 (float x, float y, float z, float w)
 
 operator glm::vec4 ()
 
glm::vec4 operator= (const T &p_other)
 
bool operator== (const glm::vec4 &p_other)
 

Detailed Description

template<typename T>
struct atlas::vector4< T >

vector4<T> is to define a centralized wrapper as a mathematical representaiton for communicating vector3 types from frameworks to glm::vec3

vector4<T> is for a 4-component value that represents a vector 4 type

Template Parameters
Tis the type of vector4 that would represent such type as glm::vec4

Example Usage:

++
auto jolt_vec4 = RVec4::zeros();
glm::vec4 pos_values = atlas::vector4<RVec4>(jolt_vec4);

The documentation for this struct was generated from the following file: