FauxmoESP v2.0.0
Loading...
Searching...
No Matches
XYPoint Struct Reference

Detailed Description

Represents a point in 2D space.

Definition at line 6 of file XYPoint.h.

#include <XYPoint.h>

Public Member Functions

 XYPoint (float x, float y)
 Creates a new XYPoint.
 
 XYPoint ()
 Creates a new XYPoint with both coordinates set to 0.
 

Public Attributes

float x
 The x coordinate.
 
float y
 The y coordinate.
 

Constructor & Destructor Documentation

◆ XYPoint() [1/2]

XYPoint::XYPoint ( float  x,
float  y 
)
inline

Creates a new XYPoint.

Parameters
xThe x coordinate.
yThe y coordinate.

Definition at line 13 of file XYPoint.h.

◆ XYPoint() [2/2]

XYPoint::XYPoint ( )
inline

Creates a new XYPoint with both coordinates set to 0.

Definition at line 19 of file XYPoint.h.

Member Data Documentation

◆ x

float XYPoint::x

The x coordinate.

Definition at line 24 of file XYPoint.h.

◆ y

float XYPoint::y

The y coordinate.

Definition at line 29 of file XYPoint.h.


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