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
This commit is contained in:
parent
2707b6586b
commit
2fc18e9e2c
@ -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…
x
Reference in New Issue
Block a user