omi-eikyo/src/m_math.c

15 lines
321 B
C
Raw Normal View History

2017-09-26 13:58:44 -07:00
// 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