Sandbox 1
Sandbox game that emulates different material physics
Loading...
Searching...
No Matches
Vector2 Struct Reference

Struct what represends objects position in 2D space. More...

#include <classes.hpp>

Collaboration diagram for Vector2:

Public Member Functions

bool operator!= (Vector2 v)
 Compares Vector2's.

Public Attributes

int x
 X coordinate.
int y
 Y coordinate.

Detailed Description

Struct what represends objects position in 2D space.

Note
[0, 0] coordinate is left top corner of the window.

Member Function Documentation

◆ operator!=()

bool Vector2::operator!= ( Vector2 v)
inline

Compares Vector2's.

Returns
true - if x and y of both objects are not equal.
false - overwise.

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