public override bool TestPoint(XForm xf, Vec2 p)
{
Vec2 pLocal = Common.Math.MulT(xf.R, p - xf.Position);
for (int i = 0; i < _vertexCount; ++i)
{
float dot = Vec2.Dot(_normals[i], pLocal - _vertices[i]);
if (dot > 0.0f)
{
return false;
}
}
return true;
}