Browse Source

vphysics: remove hack

pull/11/head
nillerusr 4 years ago
parent
commit
1c14df906f
  1. 2
      vphysics/ledgewriter.cpp

2
vphysics/ledgewriter.cpp

@ -230,7 +230,7 @@ void CVPhysicsVirtualMeshWriter::UnpackCompactLedgeFromHull( IVP_Compact_Ledge *
pLedge->has_chilren_flag = isVirtualLedge ? IVP_TRUE : IVP_FALSE; pLedge->has_chilren_flag = isVirtualLedge ? IVP_TRUE : IVP_FALSE;
// Make the offset -pLedge so the result is a NULL ledgetree node - we haven't needed to create one of these as of yet // Make the offset -pLedge so the result is a NULL ledgetree node - we haven't needed to create one of these as of yet
pLedge->ledgetree_node_offset = -((int)pLedge); //pLedge->ledgetree_node_offset = -((int)pLedge);
// keep track of which triangle edge referenced this edge (so the next one can swap the order and point to the first one) // keep track of which triangle edge referenced this edge (so the next one can swap the order and point to the first one)
int forwardEdgeIndex[255]; int forwardEdgeIndex[255];

Loading…
Cancel
Save