diff --git a/core/src/processing/core/PConstants.java b/core/src/processing/core/PConstants.java index 72f16339c..06cf43b76 100644 --- a/core/src/processing/core/PConstants.java +++ b/core/src/processing/core/PConstants.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2004-06 Ben Fry and Casey Reas + Copyright (c) 2004-07 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology This library is free software; you can redistribute it and/or diff --git a/core/src/processing/core/PFont.java b/core/src/processing/core/PFont.java index a9be5a076..3dcc48f37 100644 --- a/core/src/processing/core/PFont.java +++ b/core/src/processing/core/PFont.java @@ -3,8 +3,8 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2004-06 Ben Fry & Casey Reas - Portions Copyright (c) 2001-04 Massachusetts Institute of Technology + Copyright (c) 2004-07 Ben Fry & Casey Reas + Copyright (c) 2001-04 Massachusetts Institute of Technology This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/core/src/processing/core/PGraphics.java b/core/src/processing/core/PGraphics.java index 79e875f2d..c6a002d7e 100644 --- a/core/src/processing/core/PGraphics.java +++ b/core/src/processing/core/PGraphics.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2004-06 Ben Fry and Casey Reas + Copyright (c) 2004-07 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology This library is free software; you can redistribute it and/or @@ -35,7 +35,7 @@ import java.awt.image.*; * As of beta, this class is semi-disabled. */ public abstract class PGraphics extends PImage implements PConstants { - + // transformed values // (to be used in rendering) @@ -147,8 +147,8 @@ public abstract class PGraphics extends PImage implements PConstants { static public final int MANUAL_SHAPE_NORMAL = 1; /// normals specified for each shape vertex static public final int MANUAL_VERTEX_NORMAL = 2; - - + + /// width minus one (useful for many calculations) public int width1; diff --git a/core/src/processing/core/PGraphics2D.java b/core/src/processing/core/PGraphics2D.java index d4807ab37..679ff7c11 100644 --- a/core/src/processing/core/PGraphics2D.java +++ b/core/src/processing/core/PGraphics2D.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2006 Ben Fry and Casey Reas + Copyright (c) 2006-07 Ben Fry and Casey Reas This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/core/src/processing/core/PGraphics3D.java b/core/src/processing/core/PGraphics3D.java index 482250d4d..b0d257e9f 100644 --- a/core/src/processing/core/PGraphics3D.java +++ b/core/src/processing/core/PGraphics3D.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2004-06 Ben Fry and Casey Reas + Copyright (c) 2004-07 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology This library is free software; you can redistribute it and/or @@ -1529,9 +1529,9 @@ public class PGraphics3D extends PGraphics { } } - /* - // Seems okay to remove this because these vertices are not used again, - // but if problems arise, this needs to be uncommented because the above + /* + // Seems okay to remove this because these vertices are not used again, + // but if problems arise, this needs to be uncommented because the above // change is destructive and may need to be undone before proceeding. if (drawing2D() && a[MZ] == 0) { a[X] -= 0.01; diff --git a/core/src/processing/core/PGraphicsJava2D.java b/core/src/processing/core/PGraphicsJava2D.java index b2fbf8962..1e2d6bf1e 100644 --- a/core/src/processing/core/PGraphicsJava2D.java +++ b/core/src/processing/core/PGraphicsJava2D.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2005-06 Ben Fry and Casey Reas + Copyright (c) 2005-07 Ben Fry and Casey Reas This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/core/src/processing/core/PImage.java b/core/src/processing/core/PImage.java index 23fc90b0a..a4a67fb28 100644 --- a/core/src/processing/core/PImage.java +++ b/core/src/processing/core/PImage.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2004-06 Ben Fry and Casey Reas + Copyright (c) 2004-07 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology This library is free software; you can redistribute it and/or diff --git a/core/src/processing/core/PLine.java b/core/src/processing/core/PLine.java index 34572d43d..261603486 100644 --- a/core/src/processing/core/PLine.java +++ b/core/src/processing/core/PLine.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2004-06 Ben Fry and Casey Reas + Copyright (c) 2004-07 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology This library is free software; you can redistribute it and/or @@ -487,9 +487,9 @@ public class PLine implements PConstants //return ((yi < ymin ? 8 : 0) | (yi > ymax ? 4 : 0) | // (xi < xmin ? 2 : 0) | (xi > xmax ? 1 : 0)); //(int) added by ewjordan 6/13/07 because otherwise we sometimes clip last pixel when it should actually be displayed. - //Currently the min values are okay because values less than 0 should not be rendered; however, bear in mind that - //(int) casts towards zero, so without this clipping, values between -1+eps and +1-eps would all be rendered as 0. - return ((yi < ymin ? 8 : 0) | ((int)yi > ymax ? 4 : 0) | + //Currently the min values are okay because values less than 0 should not be rendered; however, bear in mind that + //(int) casts towards zero, so without this clipping, values between -1+eps and +1-eps would all be rendered as 0. + return ((yi < ymin ? 8 : 0) | ((int)yi > ymax ? 4 : 0) | (xi < xmin ? 2 : 0) | ((int)xi > xmax ? 1 : 0)); } diff --git a/core/src/processing/core/PMatrix.java b/core/src/processing/core/PMatrix.java index c697ef69e..aa6d7d3cf 100644 --- a/core/src/processing/core/PMatrix.java +++ b/core/src/processing/core/PMatrix.java @@ -1,9 +1,9 @@ /* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */ /* - Part of the Processing project - http://Proce55ing.net + Part of the Processing project - http://processing.org - Copyright (c) 2005-06 Ben Fry and Casey Reas + Copyright (c) 2005-07 Ben Fry and Casey Reas This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/core/src/processing/core/PPolygon.java b/core/src/processing/core/PPolygon.java index 06972b5aa..29fb6b457 100644 --- a/core/src/processing/core/PPolygon.java +++ b/core/src/processing/core/PPolygon.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2004-06 Ben Fry and Casey Reas + Copyright (c) 2004-07 Ben Fry and Casey Reas Copyright (c) 2001-04 Massachusetts Institute of Technology This library is free software; you can redistribute it and/or @@ -31,9 +31,9 @@ package processing.core; * Likely to be removed before 1.0 as it's no longer particularly used. */ public class PPolygon implements PConstants { - + // identical to the constants from PGraphics - + static final int X = 0; // transformed xyzw static final int Y = 1; // formerly SX SY SZ static final int Z = 2; @@ -42,10 +42,10 @@ public class PPolygon implements PConstants { static final int G = 4; // fill stored here, transform in place static final int B = 5; static final int A = 6; - + static final int U = 7; // texture static final int V = 8; - + // static final int DEFAULT_SIZE = 64; // this is needed for spheres diff --git a/core/src/processing/core/PShape.java b/core/src/processing/core/PShape.java index bc40fcaf1..b959c9dde 100644 --- a/core/src/processing/core/PShape.java +++ b/core/src/processing/core/PShape.java @@ -3,7 +3,7 @@ /* Part of the Processing project - http://processing.org - Copyright (c) 2006 Ben Fry and Casey Reas + Copyright (c) 2006-07 Ben Fry and Casey Reas This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public