Home
last modified time | relevance | path

Searched refs:normalizeLocal (Results 1 – 25 of 108) sorted by relevance

12345

/external/jmonkeyengine/engine/src/test/jme3test/blender/
DTestBlenderLoader.java62 dl.setDirection(new Vector3f(-0.1f,-0.7f,1).normalizeLocal()); in simpleInitApp()
68 dl.setDirection(new Vector3f(-0.6f,-1,-0.6f).normalizeLocal()); in simpleInitApp()
74 dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal()); in simpleInitApp()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTangentBinormalGenerator.java338 tangent.normalizeLocal(); in processTriangle()
340 binormal.normalizeLocal(); in processTriangle()
354 tangent.normalizeLocal(); in processTriangle()
361 binormal.normalizeLocal(); in processTriangle()
365 normal.normalizeLocal(); in processTriangle()
452 givenNormal.normalizeLocal(); in processTriangleData()
458 tangent.normalizeLocal(); in processTriangleData()
460 binormal.normalizeLocal(); in processTriangleData()
469 tangentUnit.normalizeLocal(); in processTriangleData()
479 binormalUnit.normalizeLocal(); in processTriangleData()
[all …]
/external/jmonkeyengine/engine/src/test/jme3test/model/
DTestMonkeyHead.java74 dl.setDirection(new Vector3f(-0.1f,-0.7f,1).normalizeLocal()); in simpleInitApp()
80 dl.setDirection(new Vector3f(-0.6f,-1,-0.6f).normalizeLocal()); in simpleInitApp()
86 dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal()); in simpleInitApp()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintDistLimit.java95 v.normalizeLocal(); in distLimit()
102 v.normalizeLocal(); in distLimit()
106 v.normalizeLocal().multLocal(dist * influence); in distLimit()
112 v = targetLocation.subtract(currentLocation).normalizeLocal().multLocal(dist * influence); in distLimit()
/external/jmonkeyengine/engine/src/test/jme3test/material/
DTestBumpModel.java77 dl.setDirection(new Vector3f(-0.1f,-0.7f,1).normalizeLocal()); in simpleInitApp()
83 dl.setDirection(new Vector3f(-0.6f,-1,-0.6f).normalizeLocal()); in simpleInitApp()
89 dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal()); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/export/
DTestAssetLinkNode.java106 dl.setDirection(new Vector3f(-0.1f,-0.7f,1).normalizeLocal()); in simpleInitApp()
112 dl.setDirection(new Vector3f(-0.6f,-1,-0.6f).normalizeLocal()); in simpleInitApp()
118 dl.setDirection(new Vector3f(1, -0.5f,-0.1f).normalizeLocal()); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/light/
DTestTransparentShadow.java97 dl1.setDirection(new Vector3f(1, -1, 1).normalizeLocal()); in simpleInitApp()
102 dl.setDirection(new Vector3f(-1, -1, -1).normalizeLocal()); in simpleInitApp()
132 pssmRenderer.setDirection(new Vector3f(0.01f, -1f, 0.01f).normalizeLocal()); in simpleInitApp()
/external/jmonkeyengine/engine/src/test/jme3test/post/
DTestTransparentSSAO.java54 dl1.setDirection(new Vector3f(1, -1, 1).normalizeLocal()); in simpleInitApp()
59 dl.setDirection(new Vector3f(-1, -1, -1).normalizeLocal()); in simpleInitApp()
DTestTransparentCartoonEdge.java57 dl1.setDirection(new Vector3f(1, -1, 1).normalizeLocal()); in simpleInitApp()
62 dl.setDirection(new Vector3f(-1, -1, -1).normalizeLocal()); in simpleInitApp()
DTestPostFilters.java59 private Vector3f lightDir = new Vector3f(-1, -1, .5f).normalizeLocal();
101 dl.setDirection(new Vector3f(1, 0, -1).normalizeLocal()); in setupLighting()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/debug/
DArrow.java80 tempQuat.normalizeLocal(); in Arrow()
120 tempQuat.normalizeLocal(); in setArrowExtent()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DPhysicsHoverControl.java132 Vector3f dir = getForwardVector(tempVect2).multLocal(1, 0, 1).normalizeLocal(); in prePhysicsTick()
154 … Vector3f counter = dir.project(linearVelocity).normalizeLocal().negateLocal().multLocal(1 - d); in prePhysicsTick()
163 linearVelocity.normalizeLocal().negateLocal(); in prePhysicsTick()
DTestFancyCar.java93 bsr.setDirection(new Vector3f(-0.5f, -0.3f, -0.3f).normalizeLocal()); in simpleInitApp()
105 dl.setDirection(new Vector3f(-0.5f, -1f, -0.3f).normalizeLocal()); in simpleInitApp()
109 dl.setDirection(new Vector3f(0.5f, -0.1f, 0.3f).normalizeLocal()); in simpleInitApp()
DTestHoveringTank.java118 pssmr.setDirection(new Vector3f(-0.5f, -0.3f, -0.3f).normalizeLocal()); in simpleInitApp()
131 dl.setDirection(new Vector3f(-0.5f, -0.3f, -0.3f).normalizeLocal()); in simpleInitApp()
228 camPos.normalizeLocal(); in updateCamera()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DLODGeomap.java672 …BufferUtils.setInBuffer(tangent.normalizeLocal(), tangentStore, (r * getWidth() + c)); // save the… in writeTangentArray()
673 …BufferUtils.setInBuffer(binormal.normalizeLocal(), binormalStore, (r * getWidth() + c)); // save t… in writeTangentArray()
750 tangent.normalizeLocal(); in calculateTangent()
752 binormal.normalizeLocal(); in calculateTangent()
759 tangent.normalizeLocal(); in calculateTangent()
766 binormal.normalizeLocal(); in calculateTangent()
820 normal.normalizeLocal(); in writeNormalArray()
838 normal.normalizeLocal(); in writeNormalArray()
848 normal.normalizeLocal(); in writeNormalArray()
856 normal.normalizeLocal(); in writeNormalArray()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DBillboardControl.java161 look.normalizeLocal(); in rotateCameraAligned()
162 xzp.normalizeLocal(); in rotateCameraAligned()
199 rot.normalizeLocal(); in rotateScreenAligned()
/external/jmonkeyengine/engine/src/test/jme3test/collision/
DTestMousePick.java80 direction.subtractLocal(origin).normalizeLocal(); in simpleUpdate()
149 sun.setDirection(new Vector3f(-0.1f, -0.7f, -1.0f).normalizeLocal()); in makeCharacter()
/external/jmonkeyengine/engine/src/bullet-common/com/jme3/bullet/control/
DVehicleControl.java214 axleArrow.setArrowExtent(axle.normalizeLocal().multLocal(0.3f)); in render()
216 wheelArrow.setArrowExtent(direction.normalizeLocal().multLocal(radius)); in render()
218 dirArrow.setArrowExtent(direction.normalizeLocal().multLocal(restLength)); in render()
/external/jmonkeyengine/engine/src/test/jme3test/effect/
DTestEverything.java57 private Vector3f lightDir = new Vector3f(-1, -1, .5f).normalizeLocal();
115 dl.setDirection(new Vector3f(1, 0, -1).normalizeLocal()); in setupLighting()
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DTriangle.java192 normal.normalizeLocal(); in calculateNormal()
275 return store.normalizeLocal(); in computeTriangleNormal()
DEigen3f.java119 maxRows[0].normalizeLocal(); in calculateEigen()
123 maxRows[1].normalizeLocal(); in calculateEigen()
127 maxRows[2].normalizeLocal(); in calculateEigen()
/external/jmonkeyengine/engine/src/tools/jme3tools/optimize/
DOCTTriangle.java76 normal.normalizeLocal(); in getNormal()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/textures/
DUVProjectionGenerator.java127 v.normalizeLocal(); in tubeProjection()
186 v.normalizeLocal(); in sphereProjection()
195 v.normalizeLocal(); in sphereProjection()
/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
DPhysicsVehicle.java507 Arrow axleArrow = new Arrow(axle.normalizeLocal().multLocal(0.3f)); in getDebugShape()
508 Arrow wheelArrow = new Arrow(direction.normalizeLocal().multLocal(radius)); in getDebugShape()
509 Arrow dirArrow = new Arrow(direction.normalizeLocal().multLocal(restLength)); in getDebugShape()
/external/jmonkeyengine/engine/src/test/jme3test/terrain/
DTerrainTestCollision.java177 dl.setDirection(new Vector3f(1, -0.5f, -0.1f).normalizeLocal()); in simpleInitApp()
182 cam.lookAtDirection(new Vector3f(0, -1, 0).normalizeLocal(), Vector3f.UNIT_Y); in simpleInitApp()
255 direction.subtractLocal(origin).normalizeLocal();

12345