Added missing header comments.
This commit is contained in:
@ -10,14 +10,20 @@
|
||||
#include "sphere.h"
|
||||
#include "../input/input.h"
|
||||
|
||||
/**
|
||||
* Perform a test against a point and an AABB.
|
||||
*
|
||||
* @param pointX Point X coordinate.
|
||||
* @param pointY Point Y coordinate.
|
||||
* @param x Box X coordinate.
|
||||
* @param y Box Y coordinate.
|
||||
* @param width Box width.
|
||||
* @param height Box height.
|
||||
* @param hit Pointer to hit information to store result in, or NULL for none.
|
||||
* @return True if a hit occured, otherwise false.
|
||||
*/
|
||||
bool aabbPoint2D(
|
||||
float pointX, float pointY,
|
||||
float x, float y, float width, float height,
|
||||
aabbpointhit2d_t *hit
|
||||
);
|
||||
|
||||
bool aabbVector2D(
|
||||
float x, float y, float vx, float vy,
|
||||
float bx, float by, float width, float height,
|
||||
aabbvectorhit2d_t *vector
|
||||
);
|
Reference in New Issue
Block a user