Skip to content

Commit

Permalink
Fix/rendering (#91)
Browse files Browse the repository at this point in the history
Fix/rendering
  • Loading branch information
johnwedgbury authored Apr 25, 2019
2 parents 771ddc7 + a48cdd0 commit 68b830e
Show file tree
Hide file tree
Showing 9 changed files with 429 additions and 295 deletions.
126 changes: 74 additions & 52 deletions arcore-location/arcore-location.iml

Large diffs are not rendered by default.

20 changes: 10 additions & 10 deletions arcore-location/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.2'
classpath 'com.android.tools.build:gradle:3.3.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.2'
// NOTE: Do not place your application dependencies here; they belong
Expand All @@ -31,13 +31,13 @@ allprojects {


android {
compileSdkVersion 26
compileSdkVersion 28



defaultConfig {
minSdkVersion 15
targetSdkVersion 26
minSdkVersion 24
targetSdkVersion 28
versionCode 1
versionName "1.0"

Expand All @@ -51,18 +51,18 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
//implementation 'com.google.ar:core:1.2.0'
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation "com.google.ar.sceneform:core:1.7.0"
implementation "com.google.ar.sceneform.ux:sceneform-ux:1.7.0"
implementation 'com.android.support:support-v4:28.0.0'

androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
implementation 'com.google.android.gms:play-services-location:15.0.1'

implementation "com.google.ar.sceneform:core:1.0.0"
implementation "com.google.ar.sceneform.ux:sceneform-ux:1.0.0"
}

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package uk.co.appoly.arcorelocation;

import com.google.ar.sceneform.AnchorNode;
import com.google.ar.sceneform.Node;

import uk.co.appoly.arcorelocation.rendering.LocationNode;
Expand Down Expand Up @@ -143,7 +144,8 @@ public void setRenderEvent(LocationNodeRender renderEvent) {
public enum ScalingMode {
FIXED_SIZE_ON_SCREEN,
NO_SCALING,
GRADUAL_TO_MAX_RENDER_DISTANCE
GRADUAL_TO_MAX_RENDER_DISTANCE,
GRADUAL_FIXED_SIZE
}

}
Loading

0 comments on commit 68b830e

Please sign in to comment.