Added AABB Point
This commit is contained in:
17
src/physics/aabb.h
Normal file
17
src/physics/aabb.h
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Copyright (c) 2021 Dominic Masters
|
||||
*
|
||||
* This software is released under the MIT License.
|
||||
* https://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <dawn/dawn.h>
|
||||
#include "sphere.h"
|
||||
#include "../input/input.h"
|
||||
|
||||
bool aabbPoint2D(
|
||||
float pointX, float pointY,
|
||||
float x, float y, float width, float height,
|
||||
aabbpointhit_t *hit
|
||||
);
|
Reference in New Issue
Block a user