mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-03 14:06:44 +00:00
vphysics: remove hack
This commit is contained in:
parent
0b5a04e732
commit
1c14df906f
@ -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…
Reference in New Issue
Block a user