From 9ba6ddc2654587967c8cda2262bfd9e68b35e761 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Tue, 14 May 2013 11:58:31 -0400 Subject: [PATCH] add warning notes to two classes --- core/src/processing/core/PShapeOBJ.java | 5 +++++ core/src/processing/core/PShapeSVG.java | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/core/src/processing/core/PShapeOBJ.java b/core/src/processing/core/PShapeOBJ.java index 148725c4f..0296bc1ba 100644 --- a/core/src/processing/core/PShapeOBJ.java +++ b/core/src/processing/core/PShapeOBJ.java @@ -5,6 +5,11 @@ import java.util.ArrayList; import java.util.Hashtable; /** + * This class is not part of the Processing API and should not be used + * directly. Instead, use loadShape() and methods like it, which will make + * use of this class. Using this class directly will cause your code to break + * when combined with future versions of Processing. + *

* OBJ loading implemented using code from Saito's OBJLoader library: * http://code.google.com/p/saitoobjloader/ * and OBJReader from Ahmet Kizilay diff --git a/core/src/processing/core/PShapeSVG.java b/core/src/processing/core/PShapeSVG.java index ae7db1d11..671114ee5 100644 --- a/core/src/processing/core/PShapeSVG.java +++ b/core/src/processing/core/PShapeSVG.java @@ -39,6 +39,11 @@ import java.util.HashMap; /** + * This class is not part of the Processing API and should not be used + * directly. Instead, use loadShape() and methods like it, which will make + * use of this class. Using this class directly will cause your code to break + * when combined with future versions of Processing. + *

* SVG stands for Scalable Vector Graphics, a portable graphics format. It is * a vector format so it allows for infinite resolution and relatively small * file sizes. Most modern media software can view SVG files, including Adobe