Fix for the builld, vector3f. interpolate was still called in SlopeTerrainTool instead of interpolateLocal

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10800 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
rem..om 11 years ago
parent 2707b6586b
commit 2fc18e9e2c
  1. 2
      sdk/jme3-terrain-editor/src/com/jme3/gde/terraineditor/tools/SlopeTerrainTool.java

@ -171,7 +171,7 @@ public class SlopeTerrainTool extends TerrainTool {
float angle = ((FastMath.asin(temp.distance(higher) / lower.distance(higher))) * FastMath.RAD_TO_DEG);
angleText.setText(angle + " degrees");
angleText.setLocalTranslation(new Vector3f().interpolate(point1, point2, 0.5f));
angleText.setLocalTranslation(new Vector3f().interpolateLocal(point1, point2, 0.5f));
if (line.getParent() == null) {
parent.attachChild(line);

Loading…
Cancel
Save