Skip to content

Commit 647a1ea

Browse files
committed
added VR test and lib
1 parent dbc1a80 commit 647a1ea

File tree

38 files changed

+186
-18
lines changed

38 files changed

+186
-18
lines changed
-4.05 KB
Binary file not shown.

core/debug/app/src/main/res/values/strings.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

core/debug/app/build.gradle renamed to core/debug/apps/simple/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ android {
44
compileSdkVersion 26
55
buildToolsVersion '27.0.3'
66
defaultConfig {
7-
applicationId "processing.core.debug"
7+
applicationId "processing.tests.simple"
88
minSdkVersion 17
99
targetSdkVersion 21
1010
versionCode 1

core/debug/app/src/main/AndroidManifest.xml renamed to core/debug/apps/simple/src/main/AndroidManifest.xml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<manifest package="core_debug"
3-
xmlns:android="http://schemas.android.com/apk/res/android">
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="simple">
43
<uses-sdk android:minSdkVersion="17" android:targetSdkVersion="26"/>
54
<application
65
android:allowBackup="true"
@@ -10,10 +9,9 @@
109
android:theme="@style/AppTheme"
1110
android:hardwareAccelerated="true"
1211
android:largeHeap="true">
13-
<activity android:name="core_debug.MainActivity">
12+
<activity android:name=".MainActivity">
1413
<intent-filter>
1514
<action android:name="android.intent.action.MAIN"/>
16-
1715
<category android:name="android.intent.category.LAUNCHER"/>
1816
</intent-filter>
1917
</activity>
273 KB
Loading

core/debug/app/src/main/java/core_debug/MainActivity.java renamed to core/debug/apps/simple/src/main/java/simple/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package core_debug;
1+
package simple;
22

33
import android.os.Bundle;
44
import android.content.Intent;
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
1-
package core_debug;
1+
package simple;
22

33
import processing.core.PApplet;
44
import processing.core.PImage;
55

66
public class Sketch extends PApplet {
77

8-
PImage maple;
8+
PImage leaf;
99

1010
public void settings() {
1111
fullScreen();
1212
}
1313

1414
public void setup() {
15-
maple = loadImage("maple.png");
15+
leaf = loadImage("leaf.png");
16+
imageMode(CENTER);
1617
}
1718

1819
public void draw() {
1920
background(9);
20-
image(maple, mouseX, mouseY);
21+
image(leaf, mouseX, mouseY);
2122
}
2223
}

0 commit comments

Comments
 (0)