File Geometry.c
FileList > core > Geometry.c
Go to the source code of this file
#include "Geometry.h"#include <math.h>
Public Functions
| Type | Name |
|---|---|
| bool | Ge_AABBIntersect (vec2 tl1, vec2 br1, vec2 tl2, vec2 br2) |
| float | Ge_AngleBetweenVec2s (vec2 a, vec2 b) |
| float | Ge_DistanceBetweenPoints (vec2 a, vec2 b) |
| bool | Ge_PointInAABB (float pointX, float pointY, GeomRect rect) |
Public Functions Documentation
function Ge_AABBIntersect
bool Ge_AABBIntersect (
vec2 tl1,
vec2 br1,
vec2 tl2,
vec2 br2
)
function Ge_AngleBetweenVec2s
float Ge_AngleBetweenVec2s (
vec2 a,
vec2 b
)
function Ge_DistanceBetweenPoints
float Ge_DistanceBetweenPoints (
vec2 a,
vec2 b
)
function Ge_PointInAABB
bool Ge_PointInAABB (
float pointX,
float pointY,
GeomRect rect
)
The documentation for this class was generated from the following file /home/runner/work/2DFarmingRPG/2DFarmingRPG/Stardew/engine/src/core/Geometry.c