File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed
debug/apps/arscene/src/main/java/arscene Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -32,10 +32,11 @@ public void draw() {
32
32
for (int i = 0 ; i < trackableCount (); i ++) {
33
33
int status = trackableStatus (i );
34
34
if (status == PAR .PAUSED || status == PAR .STOPPED ) continue ;
35
- if (!trackableSelected (i )) continue ;
35
+ // if (!trackableSelected(i)) continue;
36
36
37
37
if (status == PAR .CREATED ) {
38
38
anchorId = createAnchor (trackableId (i ), 0 , 0.3f , 0 );
39
+ System .out .println ("*********************> CREATED ANCHOR " + anchorId );
39
40
}
40
41
41
42
float lenx = trackableExtentX (i );
@@ -64,12 +65,15 @@ public void draw() {
64
65
65
66
if (0 < anchorCount ()) {
66
67
anchor (anchorId );
67
- fill (0xFCB736 );
68
- noStroke ();
69
- sphere (0.10f );
70
- rotateZ (angle );
71
- translate (0 , 0.3f , 0 );
72
- sphere (0.05f );
68
+ fill (255 );
69
+
70
+ rotateY (angle );
71
+ box (0.2f );
72
+ // noStroke();
73
+ // sphere(0.10f);
74
+ // rotateZ(angle);
75
+ // translate(0, 0.3f, 0);
76
+ // sphere(0.05f);
73
77
angle += 0.1 ;
74
78
}
75
79
}
You can’t perform that action at this time.
0 commit comments