Cleanup: strip trailing space for cycles

This commit is contained in:
Campbell Barton
2018-07-06 10:17:58 +02:00
parent 62fbb7d4a1
commit 1daa20ad9f
257 changed files with 373 additions and 616 deletions

View File

@@ -348,4 +348,3 @@ void QuadDice::dice(SubPatch& sub, EdgeFactors& ef)
}
CCL_NAMESPACE_END

View File

@@ -81,7 +81,7 @@ public:
* Edge tessellation factors and subpatch coordinates are as follows:
*
* tu1
* P01 --------- P11
* P01 --------- P11
* | |
* tv0 | | tv1
* | |
@@ -135,4 +135,3 @@ public:
CCL_NAMESPACE_END
#endif /* __SUBD_DICE_H__ */

View File

@@ -80,7 +80,7 @@ BoundBox LinearQuadPatch::bound()
for(int i = 0; i < 4; i++)
bbox.grow(hull[i]);
return bbox;
}
@@ -110,9 +110,8 @@ BoundBox BicubicPatch::bound()
for(int i = 0; i < 16; i++)
bbox.grow(hull[i]);
return bbox;
}
CCL_NAMESPACE_END

View File

@@ -57,4 +57,3 @@ public:
CCL_NAMESPACE_END
#endif /* __SUBD_PATCH_H__ */

View File

@@ -294,4 +294,3 @@ void PackedPatchTable::copy_adjusting_offsets(uint* dest, int doffset)
}
CCL_NAMESPACE_END

View File

@@ -60,4 +60,3 @@ struct PackedPatchTable {
CCL_NAMESPACE_END
#endif /* __SUBD_PATCH_TABLE_H__ */

View File

@@ -86,7 +86,7 @@ int DiagSplit::T(Patch *patch, float2 Pstart, float2 Pend)
if(tmax - tmin > params.split_threshold)
return DSPLIT_NON_UNIFORM;
return tmax;
}
@@ -258,4 +258,3 @@ void DiagSplit::split_quad(Patch *patch, QuadDice::SubPatch *subpatch)
}
CCL_NAMESPACE_END

View File

@@ -57,4 +57,3 @@ public:
CCL_NAMESPACE_END
#endif /* __SUBD_SPLIT_H__ */