TerrainPatch.java | 364 Vector3f topPoint = new Vector3f();
389 topPoint.set(0, top.getHeightmapHeight(s,s-1), -1);
391 averageNormalsTangents(topPoint, rootPoint, leftPoint, bottomPoint, rightPoint,normal, tangent, binormal);
401 topPoint.set(0, this.getHeightmapHeight(s,s-1), -1);
404 averageNormalsTangents(topPoint, rootPoint, leftPoint, null, rightPoint, normal, tangent, binormal);
409 averageNormalsTangents(topPoint, rootPoint, leftPoint, bottomPoint, rightPoint, normal, tangent, binormal);
419 topPoint.set(0, this.getHeightmapHeight(s,i-1), -1);
421 averageNormalsTangents(topPoint, rootPoint, leftPoint, bottomPoint, rightPoint, normal, tangent, binormal);
442 topPoint.set(0, top.getHeightmapHeight(0,s-1), -1);
444 averageNormalsTangents(topPoint, rootPoint, leftPoint, bottomPoint, rightPoint, normal, tangent, binormal); [all...] |