-==============
-ClipToSeperators
-
-Source, pass, and target are an ordering of portals.
-
-Generates seperating planes canidates by taking two points from source and one
-point from pass, and clips target by them.
-
-If target is totally clipped away, that portal can not be seen through.
-
-Normal clip keeps target on the same side as pass, which is correct if the
-order goes source, pass, target. If the order goes pass, source, target then
-flipclip should be set.
-==============
-*/
-fixedWinding_t *ClipToSeperators (fixedWinding_t *source, fixedWinding_t *pass, fixedWinding_t *target, qboolean flipclip, pstack_t *stack)
-{
- int i, j, k, l;
- visPlane_t plane;
- vec3_t v1, v2;
- float d;
- vec_t length;
- int counts[3];
- qboolean fliptest;
-
- // check all combinations
- for (i=0 ; i<source->numpoints ; i++)
+ ==============
+ ClipToSeperators
+
+ Source, pass, and target are an ordering of portals.
+
+ Generates seperating planes canidates by taking two points from source and one
+ point from pass, and clips target by them.
+
+ If target is totally clipped away, that portal can not be seen through.
+
+ Normal clip keeps target on the same side as pass, which is correct if the
+ order goes source, pass, target. If the order goes pass, source, target then
+ flipclip should be set.
+ ==============
+ */
+fixedWinding_t *ClipToSeperators( fixedWinding_t *source, fixedWinding_t *pass, fixedWinding_t *target, qboolean flipclip, pstack_t *stack ){
+ int i, j, k, l;
+ visPlane_t plane;
+ vec3_t v1, v2;
+ float d;
+ vec_t length;
+ int counts[3];
+ qboolean fliptest;
+
+ // check all combinations
+ for ( i = 0 ; i < source->numpoints ; i++ )