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

vector3<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

 vector3 (const T &p_other)
 
 vector3 (float x, float y, float z)
 
 vector3 (const std::initializer_list< float > &values)
 
 operator glm::vec3 ()
 
glm::vec3 operator= (const T &p_other)
 
bool operator== (const glm::vec3 &p_other)
 

Detailed Description

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

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

Representing a 3-component value mathematical type

Template Parameters
Tis the type of vector2 such as glm::vec3

Example Usage:

++
auto jolt_vec3 = RVec3::zeros();
glm::vec3 pos_values = atlas::vector3<RVec3>(jolt_vec3);

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