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

#include <gui_core/gui_base_types.h>

Public Member Functions

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

Public Attributes

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

Detailed Description

Member Function Documentation

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ operator-() [1/2]

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

◆ operator+() [1/2]

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

◆ operator-() [2/2]

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

◆ operator+() [2/2]

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

◆ operator-=()

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

◆ operator+=()

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

◆ operator*()

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

◆ operator/()

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

◆ operator*=()

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

◆ operator/=()

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

◆ operator==()

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

◆ operator!=()

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

Member Data Documentation

◆ x

float tachyon::float3::x = 0

◆ y

float tachyon::float3::y = 0

◆ z

float tachyon::float3::z = 0

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