diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-07-30 23:51:37 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-07-30 23:51:37 -0600 |
commit | fc6e0037a2f0769fdbd4c18bd96f49d55f630757 (patch) | |
tree | 79f6561d192c3e6e5887422c6b31beac35eab046 /src/entity.h | |
parent | f6dc479873edc98704dcf1ffb116ba5da03805b2 (diff) |
Started caporale circling thingy
Diffstat (limited to 'src/entity.h')
-rw-r--r-- | src/entity.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/entity.h b/src/entity.h index 5faa413..33e1925 100644 --- a/src/entity.h +++ b/src/entity.h @@ -145,6 +145,9 @@ void closeEntity(Entity * entity); void setEntityRadius(Entity * entity); // Uses model to set radius; bool checkEntityCollision(Entity * entity1, Entity * entity2); +RayCollision traceRayToEntity(Entity entity, Ray ray); +RayCollision traceRayToEntityRadius(Entity entity, Ray ray, float scale); + // Helper functions for updating, drawing... void entityDraw(Entity * entity); void entityUpdatePosition(Entity * entity); |