diff options
Diffstat (limited to 'sp/src/utils/vrad/vrad_dispcoll.cpp')
| -rw-r--r-- | sp/src/utils/vrad/vrad_dispcoll.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sp/src/utils/vrad/vrad_dispcoll.cpp b/sp/src/utils/vrad/vrad_dispcoll.cpp index df69a4ac..7e788d07 100644 --- a/sp/src/utils/vrad/vrad_dispcoll.cpp +++ b/sp/src/utils/vrad/vrad_dispcoll.cpp @@ -665,8 +665,8 @@ void CVRADDispColl::CreateChildPatchesSub( int iParentPatch ) // Split along the longest edge.
Vector vecEdges[3];
vecEdges[0] = pParentPatch->winding->p[1] - pParentPatch->winding->p[0];
- vecEdges[1] = pParentPatch->winding->p[2] - pParentPatch->winding->p[0];
- vecEdges[2] = pParentPatch->winding->p[2] - pParentPatch->winding->p[1];
+ vecEdges[1] = pParentPatch->winding->p[2] - pParentPatch->winding->p[1];
+ vecEdges[2] = pParentPatch->winding->p[0] - pParentPatch->winding->p[2];
// Find the longest edge.
float flEdgeLength = 0.0f;
|