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

#include <gui_core/gui_base_types.h>

Public Member Functions

float2 & operator[] (int index)
const float2 & operator[] (int index) const
bool operator== (const float2x2 &other) const
bool operator!= (const float2x2 &other) const
float2x2 operator* (float2x2 const &m2)

Public Attributes

float2 r0 = float2{1,0}
float2 r1 = float2{0,1}

Member Function Documentation

◆ operator[]() [1/2]

float2 & tachyon::float2x2::operator[] ( int index)
inline

◆ operator[]() [2/2]

const float2 & tachyon::float2x2::operator[] ( int index) const
inline

◆ operator==()

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

◆ operator!=()

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

◆ operator*()

float2x2 tachyon::float2x2::operator* ( float2x2 const & m2)

Member Data Documentation

◆ r0

float2 tachyon::float2x2::r0 = float2{1,0}

◆ r1

float2 tachyon::float2x2::r1 = float2{0,1}

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