78 if (x <
Real(0.0)) cell[0]--;
79 if (y <
Real(0.0)) cell[1]--;
#define AGX_TYPE_BINDING(_Type, _Name)
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
const Vec2 X_AXIS_2D(1.0, 0.0)
Vec2T< Real > Vec2
The object holding 2 dimensional vectors and providing basic arithmetic.
const Vec2 Y_AXIS_2D(0.0, 1.0)
Vec2i calculateCellId(Real x, Real y, Real invCellSize)
agx::UInt32 operator()(const Vec2T< T > &id) const