omi-eikyo/src/m_math.c

15 lines
321 B
C

// Copyright © 2017 Project Golan, all rights reserved.
#include "m_math.h"
// Extern Functions ----------------------------------------------------------|
//
// M_AABBPoint
//
bool M_AABBPoint(fixed xl, fixed yl, fixed xu, fixed yu, fixed xp, fixed yp)
{
return xp > xl && yp > yl && xp < xu && yp < yu;
}
// EOF