/** * Copyright (c) 2021 Dominic Masters * * This software is released under the MIT License. * https://opensource.org/licenses/MIT */ #pragma once typedef struct { float hitX; float hitY; float normalX; float normalY; } aabbpointhit2d_t; typedef struct { float time; float normalX; float normalY; float hitX; float hitY; } aabbvectorhit2d_t;