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

#include <sgct/math.h>

Public Member Functions

constexpr vec2 ()=default
constexpr vec2 (float x_, float y_)
bool operator== (const vec2 &) const noexcept=default

Public Attributes

float x = 0.f
float y = 0.f

Constructor & Destructor Documentation

◆ vec2() [1/2]

sgct::vec2::vec2 ( )
constexprdefault

◆ vec2() [2/2]

sgct::vec2::vec2 ( float x_,
float y_ )
inlineconstexpr

Member Function Documentation

◆ operator==()

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

Member Data Documentation

◆ x

float sgct::vec2::x = 0.f

◆ y

float sgct::vec2::y = 0.f

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