Skip to content

Commit

Permalink
use JME 3.4.0-beta1/Heart 6.4.3+for34/ui 0.9.3+for34/nifty 0.9.19+for34
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Apr 25, 2021
1 parent 2919c40 commit 7497a69
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
3 changes: 1 addition & 2 deletions SkyExamples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ description = 'demos, examples, and tests that do not generate reports'
dependencies {
implementation "com.beust:jcommander:$jcommanderVersion"
runtimeOnly 'com.github.nifty-gui:nifty-style-black:1.4.3'
runtimeOnly "org.jmonkeyengine:jme3-blender:$jmonkeyengineVersion"
implementation "org.jmonkeyengine:jme3-desktop:$jmonkeyengineVersion"
runtimeOnly "org.jmonkeyengine:jme3-jogg:$jmonkeyengineVersion"
runtimeOnly "org.jmonkeyengine:jme3-lwjgl3:$jmonkeyengineVersion"
implementation "org.jmonkeyengine:jme3-plugins:$jmonkeyengineVersion"
implementation "org.jmonkeyengine:jme3-terrain:$jmonkeyengineVersion"
runtimeOnly 'org.jmonkeyengine:jme3-testdata:3.1.0-stable'
runtimeOnly 'org.jmonkeyengine:jme3-testdata:' + jmonkeyengineVersion

implementation 'com.github.stephengold:Heart:' + heartVersion

Expand Down
5 changes: 3 additions & 2 deletions SkyLibrary/src/main/java/jme3utilities/sky/GlobeRenderer.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright (c) 2014-2020, Stephen Gold
Copyright (c) 2014-2021, Stephen Gold
All rights reserved.
Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -42,6 +42,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
import com.jme3.scene.shape.Sphere;
import com.jme3.scene.shape.Sphere.TextureMode;
import com.jme3.texture.FrameBuffer;
import com.jme3.texture.FrameBuffer.FrameBufferTarget;
import com.jme3.texture.Image;
import com.jme3.texture.Texture;
import com.jme3.texture.Texture2D;
Expand Down Expand Up @@ -184,7 +185,7 @@ public GlobeRenderer(Material globeMaterial, Image.Format outputFormat,

int numSamples = 1;
frameBuffer = new FrameBuffer(resolution, resolution, numSamples);
frameBuffer.setColorTexture(outputTexture);
frameBuffer.addColorTarget(FrameBufferTarget.newTarget(outputTexture));

assert isEnabled();
}
Expand Down
11 changes: 5 additions & 6 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,15 @@ gradle.projectsEvaluated {
ext {
// current versions of various libraries
jcommanderVersion = '1.81'
heartVersion = '6.4.2'
jme3utilitiesniftyVersion = '0.9.18'
jme3utilitiesuiVersion = '0.9.2'
jmonkeyengineVersion = '3.3.2-stable'
skycontrolVersion = '0.9.31-SNAPSHOT'
heartVersion = '6.4.3+for34'
jme3utilitiesniftyVersion = '0.9.19+for34'
jme3utilitiesuiVersion = '0.9.3+for34'
jmonkeyengineVersion = '3.4.0-beta1'
skycontrolVersion = '0.9.31+for33-SNAPSHOT'
}

repositories {
//mavenLocal()
maven { url 'https://dl.bintray.com/stephengold/org.jmonkeyengine' } // for jme3-testdata
mavenCentral()
}

Expand Down

0 comments on commit 7497a69

Please sign in to comment.