Capycore Engine
0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
point.h
Go to the documentation of this file.
1
#pragma once
2
6
class
Point
{
7
public
:
8
Point
();
9
Point
(
float
x
,
float
y
);
10
float
x
;
11
float
y
;
12
18
Point
distance_to
(
const
Point
& other)
const
;
19
};
Point
Represents a point in 2D space.
Definition
point.h:6
Point::x
float x
Definition
point.h:10
Point::distance_to
Point distance_to(const Point &other) const
Calculates the distance to another point.
Point::Point
Point(float x, float y)
Point::y
float y
Definition
point.h:11
Point::Point
Point()
include
engine
public
util
point.h
Generated by
1.9.8