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

#include <gui_core/gui_base_types.h>

Public Member Functions

float & operator[] (int index)
const float & operator[] (int index) const
float4 operator- () const
float4 operator+ () const
float4 operator- (const float4 &other) const
float4 operator+ (const float4 &other) const
float4 & operator-= (const float4 &other)
float4 & operator+= (const float4 &other)
float4 operator* (float other) const
float4 operator/ (float other) const
float4 & operator*= (float other)
float4 & operator/= (float other)
bool operator== (const float4 &other) const
bool operator!= (const float4 &other) const
float4 operator* (float const scale)

Public Attributes

float x = 0
float y = 0
float z = 0
float w = 0

Member Function Documentation

◆ operator[]() [1/2]

float & tachyon::float4::operator[] ( int index)
inline

◆ operator[]() [2/2]

const float & tachyon::float4::operator[] ( int index) const
inline

◆ operator-() [1/2]

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

◆ operator+() [1/2]

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

◆ operator-() [2/2]

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

◆ operator+() [2/2]

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

◆ operator-=()

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

◆ operator+=()

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

◆ operator*() [1/2]

float4 tachyon::float4::operator* ( float other) const
inline

◆ operator/()

float4 tachyon::float4::operator/ ( float other) const
inline

◆ operator*=()

float4 & tachyon::float4::operator*= ( float other)
inline

◆ operator/=()

float4 & tachyon::float4::operator/= ( float other)
inline

◆ operator==()

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

◆ operator!=()

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

◆ operator*() [2/2]

float4 tachyon::float4::operator* ( float const scale)
inline

Member Data Documentation

◆ x

float tachyon::float4::x = 0

◆ y

float tachyon::float4::y = 0

◆ z

float tachyon::float4::z = 0

◆ w

float tachyon::float4::w = 0

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