Home | History | Annotate | Download | only in terrain

Lines Matching full:intersection

105         Vector3f intersection = getWorldIntersection();
106 updateHintText(intersection);
110 if (intersection != null) {
111 adjustHeight(intersection, 64, tpf * 60);
114 if (intersection != null) {
115 adjustHeight(intersection, 64, -tpf * 60);
119 if (terrain != null && intersection != null) {
120 float h = terrain.getHeight(new Vector2f(intersection.x, intersection.z));
122 marker.setLocalTranslation(tl.add(new Vector3f(intersection.x, h, intersection.z)) );
123 markerNormal.setLocalTranslation(tl.add(new Vector3f(intersection.x, h, intersection.z)) );
125 Vector3f normal = terrain.getNormal(new Vector2f(intersection.x, intersection.z));