Skip to content

Commit

Permalink
heart library: bump version to 0.9.10 and update release-notes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jul 13, 2017
1 parent 15b7a88 commit be167b0
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ext {
// version numbers for libraries
jcommanderVersion = '1.72'
jme3utilitiesdebugVersion = '0.7.0'
jme3utilitiesheartVersion = '0.9.9'
jme3utilitiesheartVersion = '0.9.10'
jme3utilitiesniftyVersion = '0.6.7'
jme3utilitiesuiVersion = '0.5.3'
jme3utilitiesxVersion = '0.2.1'
Expand Down
10 changes: 10 additions & 0 deletions heart/release-notes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# release notes for the jme3-utilities-heart library and related tests

## Version 0.9.10 released on TBD

+ Renamed Rectangle to RectangleMesh to avoid confusion
+ Removed Misc.isIdentity() for being redundant with MyMath.isIdentity()
+ Replaced MyCamera.aspectRatio() with {display/frustum/view}AspectRatio()
+ Added utility methods to MyCamera and Misc
+ Added LoopMesh class
+ Added simpler constructors for RectangleMesh
+ Distinguish BitmapText in MySpatial.describeType()

## Version 0.9.9 released on 7 July 2017

+ Fixed logic error in MyCamera.aspectRatio()
Expand Down
5 changes: 1 addition & 4 deletions heart/src/main/java/jme3utilities/Misc.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ public static boolean browseWeb(String startUriString) {
*/
public static <T extends AppState> void detachAll(
AppStateManager stateManager, Class<T> whichClass) {
Validate.nonNull(stateManager, "state manager");
Validate.nonNull(whichClass, "class");

AppState state = stateManager.getState(whichClass);
Expand Down Expand Up @@ -180,7 +179,7 @@ public static String getUserPath(String fileName) {
* @return project name, library name, branch, and revision
*/
public static String getVersion() {
return "jme3-utilities jme3-utilities-heart master $Rev: 0.9.9+1 $";
return "jme3-utilities jme3-utilities-heart master $Rev: 0.9.10 $";
}

/**
Expand All @@ -205,8 +204,6 @@ public static String getVersionShort() {
* @return true if the mesh has texture coordinates, otherwise false
*/
public static boolean hasUV(Mesh mesh) {
Validate.nonNull(mesh, "mesh");

IntMap<VertexBuffer> buffers = mesh.getBuffers();
int key = Type.TexCoord.ordinal();
boolean result = buffers.containsKey(key);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ private void moveUp(float amount) {
* Initialize the frustum of the render camera.
*/
private void setFrustum() {
float aspectRatio = MyCamera.aspectRatio(cam);
float aspectRatio = MyCamera.displayAspectRatio(cam);
cam.setFrustumPerspective(frustumYDegrees, aspectRatio,
frustumNear, frustumFar);
}
Expand Down

0 comments on commit be167b0

Please sign in to comment.