Skip to content

Commit 51d2de2

Browse files
committed
Fixed indentation, and removed unnecessary templates from the doclet
1 parent 296f94d commit 51d2de2

38 files changed

+2861
-3839
lines changed

core/src/processing/core/PApplet.java

Lines changed: 1070 additions & 1070 deletions
Large diffs are not rendered by default.

core/src/processing/core/PConstants.java

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -127,37 +127,37 @@ public interface PConstants {
127127

128128
// useful goodness
129129

130-
/**
131-
*
132-
* <b>PI</b> is a mathematical constant with the value 3.1415927. It is the
133-
* ratio of the circumference of a circle to its diameter. It is useful in
134-
* combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
135-
*
136-
* @webref constants
137-
* @webBrief PI is a mathematical constant with the value
138-
* 3.14159265358979323846.
139-
* @see PConstants#TWO_PI
140-
* @see PConstants#TAU
141-
* @see PConstants#HALF_PI
142-
* @see PConstants#QUARTER_PI
143-
*
144-
*/
130+
/**
131+
*
132+
* <b>PI</b> is a mathematical constant with the value 3.1415927. It is the
133+
* ratio of the circumference of a circle to its diameter. It is useful in
134+
* combination with the trigonometric functions <b>sin()</b> and <b>cos()</b>.
135+
*
136+
* @webref constants
137+
* @webBrief PI is a mathematical constant with the value
138+
* 3.14159265358979323846.
139+
* @see PConstants#TWO_PI
140+
* @see PConstants#TAU
141+
* @see PConstants#HALF_PI
142+
* @see PConstants#QUARTER_PI
143+
*
144+
*/
145145
static final float PI = (float) Math.PI;
146-
/**
147-
*
148-
* <b>HALF_PI</b> is a mathematical constant with the value 1.5707964. It is
149-
* half the ratio of the circumference of a circle to its diameter. It is useful
150-
* in combination with the trigonometric functions <b>sin()</b> and
151-
* <b>cos()</b>.
152-
*
153-
* @webref constants
154-
* @webBrief HALF_PI is a mathematical constant with the value
155-
* 1.57079632679489661923.
156-
* @see PConstants#PI
157-
* @see PConstants#TWO_PI
158-
* @see PConstants#TAU
159-
* @see PConstants#QUARTER_PI
160-
*/
146+
/**
147+
*
148+
* <b>HALF_PI</b> is a mathematical constant with the value 1.5707964. It is
149+
* half the ratio of the circumference of a circle to its diameter. It is useful
150+
* in combination with the trigonometric functions <b>sin()</b> and
151+
* <b>cos()</b>.
152+
*
153+
* @webref constants
154+
* @webBrief HALF_PI is a mathematical constant with the value
155+
* 1.57079632679489661923.
156+
* @see PConstants#PI
157+
* @see PConstants#TWO_PI
158+
* @see PConstants#TAU
159+
* @see PConstants#QUARTER_PI
160+
*/
161161
static final float HALF_PI = (float) (Math.PI / 2.0);
162162
static final float THIRD_PI = (float) (Math.PI / 3.0);
163163
/**
@@ -190,21 +190,21 @@ public interface PConstants {
190190
* @see PConstants#QUARTER_PI
191191
*/
192192
static final float TWO_PI = (float) (2.0 * Math.PI);
193-
/**
194-
*
195-
* <b>TAU</b> is a mathematical constant with the value 6.2831855. It is the
196-
* circle constant relating the circumference of a circle to its linear
197-
* dimension, the ratio of the circumference of a circle to its radius. It is
198-
* useful in combination with trigonometric functions such as <b>sin()</b> and
199-
* <b>cos()</b>.
200-
*
201-
* @webref constants
202-
* @webBrief An alias for TWO_PI
203-
* @see PConstants#PI
204-
* @see PConstants#TWO_PI
205-
* @see PConstants#HALF_PI
206-
* @see PConstants#QUARTER_PI
207-
*/
193+
/**
194+
*
195+
* <b>TAU</b> is a mathematical constant with the value 6.2831855. It is the
196+
* circle constant relating the circumference of a circle to its linear
197+
* dimension, the ratio of the circumference of a circle to its radius. It is
198+
* useful in combination with trigonometric functions such as <b>sin()</b> and
199+
* <b>cos()</b>.
200+
*
201+
* @webref constants
202+
* @webBrief An alias for TWO_PI
203+
* @see PConstants#PI
204+
* @see PConstants#TWO_PI
205+
* @see PConstants#HALF_PI
206+
* @see PConstants#QUARTER_PI
207+
*/
208208
static final float TAU = (float) (2.0 * Math.PI);
209209

210210
static final float DEG_TO_RAD = PI/180.0f;

core/src/processing/core/PFont.java

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -884,18 +884,18 @@ public PShape getShape(char ch, float detail) {
884884
}
885885

886886

887-
/**
888-
*
889-
* Gets a list of the fonts installed on the system. The data is returned as a
890-
* String array. This list provides the names of each font for input into
891-
* <b>createFont()</b>, which allows Processing to dynamically format fonts.
892-
*
893-
*
894-
* @webref pfont
895-
* @webBrief Gets a list of the fonts installed on the system.
896-
* @usage application
897-
* @brief Gets a list of the fonts installed on the system
898-
*/
887+
/**
888+
*
889+
* Gets a list of the fonts installed on the system. The data is returned as a
890+
* String array. This list provides the names of each font for input into
891+
* <b>createFont()</b>, which allows Processing to dynamically format fonts.
892+
*
893+
*
894+
* @webref pfont
895+
* @webBrief Gets a list of the fonts installed on the system.
896+
* @usage application
897+
* @brief Gets a list of the fonts installed on the system
898+
*/
899899
static public String[] list() {
900900
loadFonts();
901901
String[] list = new String[fonts.length];

0 commit comments

Comments
 (0)