Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
aurore::Point Struct Reference

#include <aurore/core/geometry.hpp>

Public Member Functions

 Point ()
 
 Point (float x, float y)
 
Point operator+ (const Point &a) const
 
Point operator- (const Point &a) const
 
Point operator/ (const float &a) const
 
Point operator* (const float &a) const
 
bool operator== (const Point &other) const
 
bool operator!= (const Point &other) const
 
void operator+= (const Point &a)
 
void operator-= (const Point &a)
 
Point lerp (const Point &other, const float &percent) const
 

Public Attributes

float x
 
float y
 

Constructor & Destructor Documentation

◆ Point() [1/2]

aurore::Point::Point ( )

◆ Point() [2/2]

aurore::Point::Point ( float  x,
float  y 
)

Member Function Documentation

◆ lerp()

Point aurore::Point::lerp ( const Point &  other,
const float &  percent 
) const

◆ operator!=()

bool aurore::Point::operator!= ( const Point &  other) const

◆ operator*()

Point aurore::Point::operator* ( const float &  a) const

◆ operator+()

Point aurore::Point::operator+ ( const Point &  a) const

◆ operator+=()

void aurore::Point::operator+= ( const Point &  a)

◆ operator-()

Point aurore::Point::operator- ( const Point &  a) const

◆ operator-=()

void aurore::Point::operator-= ( const Point &  a)

◆ operator/()

Point aurore::Point::operator/ ( const float &  a) const

◆ operator==()

bool aurore::Point::operator== ( const Point &  other) const

Member Data Documentation

◆ x

float aurore::Point::x

◆ y

float aurore::Point::y

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