@Override
    public void jDraw() {
      if (m_result.pointCount > 0) {
        // draw collision point
        GL10 gl = Director.getInstance().gl;
        gl.glColor4f(1, 0, 0, 1);
        gl.glPointSize(5);
        Primitives.drawPoints(m_result.getPoints());

        // draw normal
        Primitives.drawLine(
            m_result.points[0].x,
            m_result.points[0].y,
            m_result.points[0].x + m_result.normal.x * 50,
            m_result.points[0].y + m_result.normal.y * 50);

        gl.glColor4f(1, 1, 1, 1);
      }
    }
 public void jDraw() {
   if (mHasViewport) {
     WYSize s = Director.getInstance().getWindowSize();
     GL10 gl = Director.getInstance().gl;
     gl.glColor4f(0.0f, 1.0f, 0.0f, 1.0f);
     gl.glLineWidth(1);
     WYPoint[] vertices = {
       WYPoint.make(50, 50),
       WYPoint.make(s.width - 50, 50),
       WYPoint.make(s.width - 50, s.width - 50),
       WYPoint.make(50, s.width - 50)
     };
     Primitives.drawPoly(vertices, true);
   }
 }