Capycore Engine  0.1.0
A simple and lightweight game engine written in C++ based on the Unity API architecture.
Loading...
Searching...
No Matches
body_distance_2d.h
Go to the documentation of this file.
1#pragma once
2
4
12 float distance{0.0f};
13 Point normal{0.0f, 0.0f};
14 Point point_a{0.0f, 0.0f};
15 Point point_b{0.0f, 0.0f};
16};
Represents a point in 2D space.
Definition point.h:6
Structure representing the distance information between two colliders.
Definition body_distance_2d.h:11
Point normal
Definition body_distance_2d.h:13
float distance
Definition body_distance_2d.h:12
Point point_a
Definition body_distance_2d.h:14
Point point_b
Definition body_distance_2d.h:15