TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::int3 Struct Reference

#include <gui_core/gui_base_types.h>

Public Member Functions

int32_t & operator[] (int index)
const int32_t & operator[] (int index) const
bool operator== (const int3 &other) const
bool operator!= (const int3 &other) const
int3 operator- () const
int3 operator+ () const
int3 operator- (const int3 &other) const
int3 operator+ (const int3 &other) const
int3 & operator-= (const int3 &other)
int3 & operator+= (const int3 &other)

Public Attributes

int32_t x = 0
int32_t y = 0
int32_t z = 0

Member Function Documentation

◆ operator[]() [1/2]

int32_t & tachyon::int3::operator[] ( int index)
inline

◆ operator[]() [2/2]

const int32_t & tachyon::int3::operator[] ( int index) const
inline

◆ operator==()

bool tachyon::int3::operator== ( const int3 & other) const
inline

◆ operator!=()

bool tachyon::int3::operator!= ( const int3 & other) const
inline

◆ operator-() [1/2]

int3 tachyon::int3::operator- ( ) const
inline

◆ operator+() [1/2]

int3 tachyon::int3::operator+ ( ) const
inline

◆ operator-() [2/2]

int3 tachyon::int3::operator- ( const int3 & other) const
inline

◆ operator+() [2/2]

int3 tachyon::int3::operator+ ( const int3 & other) const
inline

◆ operator-=()

int3 & tachyon::int3::operator-= ( const int3 & other)
inline

◆ operator+=()

int3 & tachyon::int3::operator+= ( const int3 & other)
inline

Member Data Documentation

◆ x

int32_t tachyon::int3::x = 0

◆ y

int32_t tachyon::int3::y = 0

◆ z

int32_t tachyon::int3::z = 0

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