File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ public class PApplet extends Object implements PConstants {
195
195
public boolean touchPressed ;
196
196
197
197
198
- public TouchEvent .PPointer [] touches = new TouchEvent .PPointer [0 ];
198
+ public TouchEvent .Pointer [] touches = new TouchEvent .Pointer [0 ];
199
199
200
200
201
201
/**
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ public int getNumPointers() {
75
75
}
76
76
77
77
78
- public PPointer getPointer (int idx ) {
79
- PPointer pt = new PPointer ();
78
+ public Pointer getPointer (int idx ) {
79
+ Pointer pt = new Pointer ();
80
80
pt .id = pointerId [idx ];
81
81
pt .x = pointerX [idx ];
82
82
pt .y = pointerY [idx ];
@@ -116,11 +116,11 @@ public int getButton() {
116
116
}
117
117
118
118
119
- public PPointer [] getTouches (PPointer [] touches ) {
119
+ public Pointer [] getTouches (Pointer [] touches ) {
120
120
if (touches == null || touches .length != numPointers ) {
121
- touches = new PPointer [numPointers ];
121
+ touches = new Pointer [numPointers ];
122
122
for (int idx = 0 ; idx < numPointers ; idx ++) {
123
- touches [idx ] = new PPointer ();
123
+ touches [idx ] = new Pointer ();
124
124
}
125
125
}
126
126
for (int idx = 0 ; idx < numPointers ; idx ++) {
@@ -134,7 +134,7 @@ public PPointer[] getTouches(PPointer[] touches) {
134
134
}
135
135
136
136
137
- public class PPointer {
137
+ public class Pointer {
138
138
public int id ;
139
139
public float x , y ;
140
140
public float size ;
You can’t perform that action at this time.
0 commit comments