File tree Expand file tree Collapse file tree 4 files changed +19
-3
lines changed
mode/libraries/ar/examples Expand file tree Collapse file tree 4 files changed +19
-3
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" xmlns : tools =" http://schemas.android.com/tools" android : versionCode =" 1" android : versionName =" 1.0" package =" " >
3
+ <uses-sdk android : minSdkVersion =" 24" android : targetSdkVersion =" 26" />
4
+ <uses-permission android : name =" android.permission.CAMERA" />
5
+ <uses-feature android : name =" android.hardware.camera.ar" android : required =" true" />
6
+ <uses-feature android : glEsVersion =" 0x00020000" android : required =" true" />
7
+ <application android : allowBackup =" false" android : icon =" @mipmap/ic_launcher" android : label =" " android : theme =" @style/ArActivityTheme" android : usesCleartextTraffic =" false" tools : ignore =" GoogleAppIndexingWarning" >
8
+ <activity android : configChanges =" orientation|screenSize" android : exported =" true" android : name =" .MainActivity" android : screenOrientation =" locked" android : theme =" @style/Theme.AppCompat.NoActionBar" >
9
+ <intent-filter >
10
+ <action android : name =" android.intent.action.MAIN" />
11
+ <category android : name =" android.intent.category.LAUNCHER" />
12
+ </intent-filter >
13
+ </activity >
14
+ <meta-data android : name =" com.google.ar.core" android : value =" required" />
15
+ </application >
16
+ </manifest >
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import processing.ar.*;
3
3
PShape cube;
4
4
5
5
void setup () {
6
- fullScreen(AUGMENT );
6
+ fullScreen(AR );
7
7
cube = createShape(BOX , 0.25 );
8
8
PAR . planeColor(#BCD4FF );
9
9
}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import processing.ar.*;
3
3
PShape arObj;
4
4
5
5
void setup () {
6
- fullScreen(AUGMENT );
6
+ fullScreen(AR );
7
7
8
8
// Setting Color of the detected plane - BLUE in this case
9
9
PAR . planeColor(#BCD4FF );
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import processing.ar.*;
3
3
float angle = 0 ;
4
4
5
5
void setup () {
6
- fullScreen(AUGMENT );
6
+ fullScreen(AR );
7
7
PAR . planeColor(0xB4E7FF );
8
8
}
9
9
You can’t perform that action at this time.
0 commit comments