SGCT master (487fac4)
Simple Graphics Cluster Toolkit
Loading...
Searching...
No Matches
sgct::ivec2 Struct Reference

#include <sgct/math.h>

Public Member Functions

constexpr ivec2 ()=default
constexpr ivec2 (int x_, int y_)
bool operator== (const ivec2 &) const noexcept=default

Public Attributes

int x = 0
int y = 0

Constructor & Destructor Documentation

◆ ivec2() [1/2]

sgct::ivec2::ivec2 ( )
constexprdefault

◆ ivec2() [2/2]

sgct::ivec2::ivec2 ( int x_,
int y_ )
inlineconstexpr

Member Function Documentation

◆ operator==()

bool sgct::ivec2::operator== ( const ivec2 & ) const
defaultnoexcept

Member Data Documentation

◆ x

int sgct::ivec2::x = 0

◆ y

int sgct::ivec2::y = 0

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