RLLib  0.1
Public Member Functions | Public Attributes | List of all members
rl::Vector3< T > Struct Template Reference

Structure representing a three-dimensional vector. More...

#include <Vector3.hpp>

Public Member Functions

constexpr Vector3 (T X=0, T Y=0, T Z=0)
 Creates a 3D vector. More...
 

Public Attributes

x
 The horizontal component of the vector.
 
y
 The vertical component of the vector.
 
z
 The depth component of the vector.
 

Detailed Description

template<typename T>
struct rl::Vector3< T >

Structure representing a three-dimensional vector.

Template Parameters
TThe type of the vector components

Constructor & Destructor Documentation

◆ Vector3()

template<typename T>
constexpr rl::Vector3< T >::Vector3 ( X = 0,
Y = 0,
Z = 0 
)

Creates a 3D vector.

Parameters
XThe horizontal component of the vector
YThe vertical component of the vector
ZThe depth component of the vector

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