mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-26 21:59:46 -04:00
Remove debug logging for CurveLocation.
This commit is contained in:
parent
d85b4f0c80
commit
a099377ac6
2 changed files with 0 additions and 19 deletions
src/path
|
@ -220,24 +220,6 @@ PathItem.inject(new function() {
|
|||
* @param {CurveLocation[]} intersections Array of CurveLocation objects
|
||||
*/
|
||||
function splitPath(intersections) {
|
||||
console.log('splitting', intersections.length);
|
||||
intersections.forEach(function(inter) {
|
||||
var log = ['CurveLocation', inter._id, 'p', inter.getPath()._id,
|
||||
'i', inter.getIndex(), 't', inter._parameter,
|
||||
'i2', inter._curve2 ? inter._curve2.getIndex() : null,
|
||||
't2', inter._parameter2, 'o', !!inter._overlap];
|
||||
if (inter._other) {
|
||||
inter = inter.getIntersection();
|
||||
log.push('Other', inter._id, 'p', inter.getPath()._id,
|
||||
'i', inter.getIndex(), 't', inter._parameter,
|
||||
'i2', inter._curve2 ? inter._curve2.getIndex() : null,
|
||||
't2', inter._parameter2, 'o', !!inter._overlap);
|
||||
}
|
||||
console.log(log.map(function(v) {
|
||||
return v == null ? '-' : v
|
||||
}).join(' '));
|
||||
});
|
||||
|
||||
// TODO: Make public in API, since useful!
|
||||
var tMin = /*#=*/Numerical.TOLERANCE,
|
||||
tMax = 1 - tMin,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue