mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
fix a couple copyright notices
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user