Home
last modified time | relevance | path

Searched refs:getNormal (Results 1 – 20 of 20) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DLODGeomap.java808 getNormal(bottomPoint, rootPoint, rightPoint, scale, normal); in writeNormalArray()
812 getNormal(leftPoint, rootPoint, bottomPoint, scale, normal); in writeNormalArray()
818 normal.set( getNormal(leftPoint, rootPoint, bottomPoint, scale, tmp1) ); in writeNormalArray()
819 normal.add( getNormal(bottomPoint, rootPoint, rightPoint, scale, tmp1) ); in writeNormalArray()
826 getNormal(rightPoint, rootPoint, topPoint, scale, normal); in writeNormalArray()
830 getNormal(topPoint, rootPoint, leftPoint, scale, normal); in writeNormalArray()
836 normal.set( getNormal(topPoint, rootPoint, leftPoint, scale, tmp1) ); in writeNormalArray()
837 normal.add( getNormal(rightPoint, rootPoint, topPoint, scale, tmp1) ); in writeNormalArray()
846 normal.set( getNormal(rightPoint, rootPoint, topPoint, scale, tmp1) ); in writeNormalArray()
847 normal.add( getNormal(bottomPoint, rootPoint, rightPoint, scale, tmp1) ); in writeNormalArray()
[all …]
DTerrainQuad.java1138 public Vector3f getNormal(Vector2f xz) {
1142 Vector3f normal = getNormal(x, z, xz);
1147 protected Vector3f getNormal(float x, float z, Vector2f xz) {
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/picking/
DBresenhamTerrainPicker.java108 cr.setContactNormal(hit.getNormal()); in getTerrainIntersection()
127 cr.setContactNormal(hit.getNormal()); in getTerrainIntersection()
155 cr.setContactNormal(hit.getNormal()); in getTerrainIntersection()
/external/jmonkeyengine/engine/src/core-effects/Common/MatDefs/SSAO/
Dssao15.frag33 vec3 getNormal(in vec2 uv){
72 vec3 normal = getNormal(texCoord);
Dssao.frag31 vec3 getNormal(in vec2 uv){
80 vec3 normal = getNormal(texCoord);
/external/jmonkeyengine/engine/src/core/com/jme3/renderer/
DCamera.java326 worldPlane[i].setNormal(cam.worldPlane[i].getNormal()); in copyFrom()
398 Vector3f point = clipPlane.getNormal().mult(clipPlane.getConstant()); in setClipPlane()
400 Vector3f pn = ivm.multNormal(clipPlane.getNormal(), null); in setClipPlane()
1221 Vector3f leftPlaneNormal = worldPlane[LEFT_PLANE].getNormal(); in onFrameChange()
1230 Vector3f rightPlaneNormal = worldPlane[RIGHT_PLANE].getNormal(); in onFrameChange()
1239 Vector3f bottomPlaneNormal = worldPlane[BOTTOM_PLANE].getNormal(); in onFrameChange()
1248 Vector3f topPlaneNormal = worldPlane[TOP_PLANE].getNormal(); in onFrameChange()
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DOCTTriangle.java73 public Vector3f getNormal(){ in getNormal() method in OCTTriangle
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/
DTerrain.java66 public Vector3f getNormal(Vector2f xz); in getNormal() method
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/collision/shapes/
DPlaneCollisionShape.java54 cShape = new StaticPlaneShape(Converter.convert(plane.getNormal()),plane.getConstant()); in createShape()
/external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/collision/shapes/
DPlaneCollisionShape.java55 objectId = createShape(plane.getNormal(), plane.getConstant()); in createShape()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/bih/
DBIHTriangle.java69 public Vector3f getNormal(){ in getNormal() method in BIHTriangle
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DRay.java369 float denominator = p.getNormal().dot(direction); in intersectsWherePlane()
374 float numerator = -(p.getNormal().dot(origin) - p.getConstant()); in intersectsWherePlane()
DPlane.java122 public Vector3f getNormal() { in getNormal() method in Plane
DTriangle.java220 public Vector3f getNormal() { in getNormal() method in Triangle
/external/jmonkeyengine/engine/src/core-effects/com/jme3/water/
DSimpleWaterProcessor.java221 vect2.set(plane.getNormal()).multLocal(planeDistance * 2.0f); in postQueue()
384 this.plane.setNormal(plane.getNormal()); in setPlane()
DWaterFilter.java173 vars.vect2.set(plane.getNormal()).multLocal(planeDistance * 2.0f); in preFrame()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/
DSweepSphere.java210 float normalDotVelocity = triPlane.getNormal().dot(sVelocity); in collideWithTriangle()
265 contactPoint.subtractLocal(triPlane.getNormal()); in collideWithTriangle()
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingBox.java343 float radius = FastMath.abs(xExtent * plane.getNormal().getX()) in whichSide()
344 + FastMath.abs(yExtent * plane.getNormal().getY()) in whichSide()
345 + FastMath.abs(zExtent * plane.getNormal().getZ()); in whichSide()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVProjectionGenerator.java65 Vector3f n = triangle.getNormal(); in cubeProjection()
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainTestModifyHeight.java125 Vector3f normal = terrain.getNormal(new Vector2f(intersection.x, intersection.z)); in simpleUpdate()