java3d
  1. java3d
  2. JAVA3D-642

Method GeometryInfo.getIndexedGeometryArray(...) javadoc params inversed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: current
    • Fix Version/s: not determined
    • Component/s: docs
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      642

      Description

      In GeometryInfo.java, the last 2 params in method 'getIndexedGeometryArray
      (boolean compact, boolean byRef, boolean interleaved, boolean
      useCoordIndexOnly, boolean nio)' as documented in javadoc are inversed. If you
      look at the implementation, the second to last parameter is passed in as
      the 'nio' parameter, and the very last parameter is used to
      signify 'useCoordIndexOnly' in the code.

      This leads to unexpected behavior.

      The fix is to adjust the javadoc comment in the source.

        Activity

        Hide
        mcneillk added a comment -

        Easy, low impact.

        Show
        mcneillk added a comment - Easy, low impact.
        Hide
        mcneillk added a comment -

        In progress.

        Show
        mcneillk added a comment - In progress.
        Hide
        mcneillk added a comment -

        Will check in soon.

        Show
        mcneillk added a comment - Will check in soon.
        Hide
        mcneillk added a comment -

        Had been fixed before SVN migration.

        Show
        mcneillk added a comment - Had been fixed before SVN migration.

          People

          • Assignee:
            mcneillk
            Reporter:
            mcneillk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: