advertisement

Article:
  Building a Game Engine with Cocoa, Part 2
Subject:   Incorrect Boolean login in NOTEQUAL_NSPOINTS?
Date:   2007-01-05 20:36:09
From:   Joe Jones
It would seem to me that the equation there should be p1.x != p2.x ||p1.y != p2.y. This would be the equivalent of !EQUALS_NPOINTS(p1, p2). (1,2) and (3,4) would resolve to TRUE as expected but (1,2) and (3,2) would resolve to FALSE but are obviously not equal.

1 to 1 of 1
  1. Matthew Russell photo Incorrect Boolean login in NOTEQUAL_NSPOINTS?
    2007-01-06 07:15:35  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

    • Matthew Russell photo FIXED: Incorrect Boolean login in NOTEQUAL_NSPOINTS?
      2007-01-08 08:43:30  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

      • FIXED: Incorrect Boolean login in NOTEQUAL_NSPOINTS?
        2007-01-12 06:52:49  wootest [View]

        • Matthew Russell photo FIXED: Incorrect Boolean login in NOTEQUAL_NSPOINTS?
          2007-01-12 17:09:37  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

          • Matthew Russell photo FIXED: Incorrect Boolean login in NOTEQUAL_NSPOINTS?
            2007-01-15 11:23:07  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

          • FIXED: Incorrect Boolean login in NOTEQUAL_NSPOINTS?
            2007-01-15 09:55:49  Ginkgo_52 [View]

1 to 1 of 1