Skip to content

Wrong indices for edge generation #16

@FlexW

Description

@FlexW

I believe the indices of the edges here (https://github.com/gszauer/GamePhysicsCookbook/blob/master/Code/Geometry3D.cpp#L2055) are wrong and should be like this:

  int index[][2] = {
      // Indices of edges
      {6, 1},
      {6, 2},
      {5, 1},
      {4, 0},
      {3, 7},
      {6, 4},
      {2, 5},
      {2, 0},
      {0, 3},
      {7, 1},
      {7, 4},
      {5, 3}
  };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions