| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -74,21 +74,21 @@ public void actionPerformed(ActionEvent e) { | |||
| 74 | 74 | ||
| 75 | 75 | public JMenu buildSketchMenu () | |
| 76 | 76 | { | |
| 77 | - JMenuItem startServerItem = Base.newJMenuItem("Start server", 'R'); | ||
| 77 | + JMenuItem startServerItem = Base.newJMenuItem("Start Server", 'R'); | ||
| 78 | 78 | startServerItem.addActionListener(new ActionListener() { | |
| 79 | 79 | public void actionPerformed(ActionEvent e) { | |
| 80 | 80 | handleStartServer(); | |
| 81 | 81 | } | |
| 82 | 82 | }); | |
| 83 | 83 | ||
| 84 | - JMenuItem stopServerItem = new JMenuItem("Stop server"); | ||
| 84 | + JMenuItem stopServerItem = new JMenuItem("Stop Server"); | ||
| 85 | 85 | stopServerItem.addActionListener(new ActionListener() { | |
| 86 | 86 | public void actionPerformed(ActionEvent e) { | |
| 87 | 87 | handleStopServer(); | |
| 88 | 88 | } | |
| 89 | 89 | }); | |
| 90 | 90 | ||
| 91 | - JMenuItem copyServerAddressItem = new JMenuItem("Copy server address"); | ||
| 91 | + JMenuItem copyServerAddressItem = new JMenuItem("Copy Server Address"); | ||
| 92 | 92 | copyServerAddressItem.addActionListener(new ActionListener(){ | |
| 93 | 93 | public void actionPerformed(ActionEvent e) { | |
| 94 | 94 | handleCopyServerAddress(); | |
@@ -103,7 +103,7 @@ public void actionPerformed(ActionEvent e) { | |||
| 103 | 103 | // } | |
| 104 | 104 | // ); | |
| 105 | 105 | ||
| 106 | - JMenuItem setServerPortItem = new JMenuItem("Set server port"); | ||
| 106 | + JMenuItem setServerPortItem = new JMenuItem("Set Server Port"); | ||
| 107 | 107 | setServerPortItem.addActionListener(new ActionListener(){ | |
| 108 | 108 | public void actionPerformed (ActionEvent e) { | |
| 109 | 109 | handleSetServerPort(); | |
@@ -120,7 +120,7 @@ public JMenu buildModeMenu() { | |||
| 120 | 120 | JMenu menu = new JMenu("JavaScript"); | |
| 121 | 121 | JMenuItem item; | |
| 122 | 122 | ||
| 123 | - item = new JMenuItem("Playback settings (directives)"); | ||
| 123 | + item = new JMenuItem("Playback Settings (Directives)"); | ||
| 124 | 124 | item.addActionListener(new ActionListener() { | |
| 125 | 125 | public void actionPerformed(ActionEvent e) { | |
| 126 | 126 | handleShowDirectivesEditor(); | |
@@ -130,15 +130,15 @@ public void actionPerformed(ActionEvent e) { | |||
| 130 | 130 | ||
| 131 | 131 | menu.addSeparator(); | |
| 132 | 132 | ||
| 133 | - item = new JMenuItem("Start custom template"); | ||
| 133 | + item = new JMenuItem("Start Custom Template"); | ||
| 134 | 134 | item.addActionListener(new ActionListener() { | |
| 135 | 135 | public void actionPerformed(ActionEvent e) { | |
| 136 | 136 | handleCreateCustomTemplate(); | |
| 137 | 137 | } | |
| 138 | 138 | }); | |
| 139 | 139 | menu.add(item); | |
| 140 | 140 | ||
| 141 | - item = new JMenuItem("Show custom template"); | ||
| 141 | + item = new JMenuItem("Show Custom Template"); | ||
| 142 | 142 | item.addActionListener(new ActionListener() { | |
| 143 | 143 | public void actionPerformed(ActionEvent e) { | |
| 144 | 144 | handleOpenCustomTemplateFolder(); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5082,7 +5082,8 @@ header[17] image descriptor (packed bits) | |||
| 5082 | 5082 | * returned from <b>loadShape()</b> is null. | |
| 5083 | 5083 | * | |
| 5084 | 5084 | * ( end auto-generated ) | |
| 5085 | - * @webref shape:load_displaying | ||
| 5085 | + * | ||
| 5086 | + * @webref shape:loading_displaying | ||
| 5086 | 5087 | * @param filename name of the file to load | |
| 5087 | 5088 | * @see PShape#PShape | |
| 5088 | 5089 | * @see PGraphics#shape(PShape, float, float, float, float) | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -300,6 +300,7 @@ public void disableStyle() { | |||
| 300 | 300 | * joints. | |
| 301 | 301 | * | |
| 302 | 302 | * ( end auto-generated ) | |
| 303 | + * | ||
| 303 | 304 | * @webref pshape:method | |
| 304 | 305 | * @usage web_application | |
| 305 | 306 | * @brief Enables the shape's style data and ignores the Processing styles | |
@@ -1098,10 +1099,14 @@ public void rotateX(float angle) { | |||
| 1098 | 1099 | * parameter for the <b>size()</b> function as shown in the example above. | |
| 1099 | 1100 | * | |
| 1100 | 1101 | * ( end auto-generated ) | |
| 1102 | + * | ||
| 1101 | 1103 | * @webref pshape:method | |
| 1102 | 1104 | * @usage web_application | |
| 1103 | 1105 | * @brief Rotates the shape around the y-axis | |
| 1104 | 1106 | * @param angle angle of rotation specified in radians | |
| 1107 | + * @see PShape#rotate(float) | ||
| 1108 | + * @see PShape#rotateX(float) | ||
| 1109 | + * @see PShape#rotateZ(float) | ||
| 1105 | 1110 | */ | |
| 1106 | 1111 | public void rotateY(float angle) { | |
| 1107 | 1112 | rotate(angle, 0, 1, 0); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -652,15 +652,15 @@ protected void parsePath() { | |||
| 652 | 652 | break; | |
| 653 | 653 | ||
| 654 | 654 | // S - curve to shorthand (absolute) | |
| 655 | - // Draws a cubic Bézier curve from the current point to (x,y). The first | ||
| 655 | + // Draws a cubic Bezier curve from the current point to (x,y). The first | ||
| 656 | 656 | // control point is assumed to be the reflection of the second control | |
| 657 | 657 | // point on the previous command relative to the current point. | |
| 658 | 658 | // (x2,y2) is the second control point (i.e., the control point | |
| 659 | 659 | // at the end of the curve). S (uppercase) indicates that absolute | |
| 660 | 660 | // coordinates will follow; s (lowercase) indicates that relative | |
| 661 | 661 | // coordinates will follow. Multiple sets of coordinates may be specified | |
| 662 | - // to draw a polybézier. At the end of the command, the new current point | ||
| 663 | - // becomes the final (x,y) coordinate pair used in the polybézier. | ||
| 662 | + // to draw a polybezier. At the end of the command, the new current point | ||
| 663 | + // becomes the final (x,y) coordinate pair used in the polybezier. | ||
| 664 | 664 | case 'S': { | |
| 665 | 665 | // (If there is no previous command or if the previous command was not | |
| 666 | 666 | // an C, c, S or s, assume the first control point is coincident with | |
@@ -714,12 +714,12 @@ protected void parsePath() { | |||
| 714 | 714 | break; | |
| 715 | 715 | ||
| 716 | 716 | // Q - quadratic curve to (absolute) | |
| 717 | - // Draws a quadratic Bézier curve from the current point to (x,y) using | ||
| 717 | + // Draws a quadratic Bezier curve from the current point to (x,y) using | ||
| 718 | 718 | // (x1,y1) as the control point. Q (uppercase) indicates that absolute | |
| 719 | 719 | // coordinates will follow; q (lowercase) indicates that relative | |
| 720 | 720 | // coordinates will follow. Multiple sets of coordinates may be specified | |
| 721 | - // to draw a polybézier. At the end of the command, the new current point | ||
| 722 | - // becomes the final (x,y) coordinate pair used in the polybézier. | ||
| 721 | + // to draw a polybezier. At the end of the command, the new current point | ||
| 722 | + // becomes the final (x,y) coordinate pair used in the polybezier. | ||
| 723 | 723 | case 'Q': { | |
| 724 | 724 | ctrlX = PApplet.parseFloat(pathTokens[i + 1]); | |
| 725 | 725 | ctrlY = PApplet.parseFloat(pathTokens[i + 2]); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,5 +27,5 @@ void draw() { | |||
| 27 | 27 | ||
| 28 | 28 | // Add a new boid into the System | |
| 29 | 29 | void mousePressed() { | |
| 30 | - flock.addBoid(new Boid(new PVector(mouseX,mouseY),2.0f,0.05f)); | ||
| 30 | + flock.addBoid(new Boid(new PVector(mouseX,mouseY), 2.0, 0.05)); | ||
| 31 | 31 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments