Home
last modified time | relevance | path

Searched refs:lengthSquared (Results 1 – 16 of 16) sorted by relevance

/external/jmonkeyengine/engine/src/core/com/jme3/bounding/
DBoundingSphere.java286 Vector3f o = a.cross(b).multLocal(c.lengthSquared()).addLocal( in setSphere()
287 c.cross(a).multLocal(b.lengthSquared())).addLocal( in setSphere()
288 b.cross(c).multLocal(a.lengthSquared())).divideLocal( in setSphere()
320 …Vector3f o = acrossB.cross(a).multLocal(b.lengthSquared()).addLocal(b.cross(acrossB).multLocal(a.l… in setSphere()
364 float radiusSqr = diff.lengthSquared(); in averagePoints()
583 float lengthSquared = diff.lengthSquared(); in merge() local
588 if (fRDiffSqr >= lengthSquared) { in merge()
604 float length = (float) Math.sqrt(lengthSquared); in merge()
/external/jmonkeyengine/engine/src/core/com/jme3/collision/
DSweepSphere.java153 float c = temp1.negateLocal().lengthSquared() - 1f; in collideWithVertex()
177 float edgeSquared = edge.lengthSquared(); in collideWithSegment()
178 float baseSquared = base.lengthSquared(); in collideWithSegment()
289 float velocitySquared = sVelocity.lengthSquared(); in collideWithTriangle()
367 float a = temp1.lengthSquared(); in collideWithSweepSphere()
369 float c = temp2.lengthSquared() - temp3.getX() * temp3.getX(); in collideWithSweepSphere()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/control/
DBillboardControl.java224 float lengthSquared = left.x * left.x + left.z * left.z; in rotateAxial() local
225 if (lengthSquared < FastMath.FLT_EPSILON) { in rotateAxial()
231 float invLength = FastMath.invSqrt(lengthSquared); in rotateAxial()
/external/webkit/Source/WebCore/platform/graphics/
DFloatPoint3D.h121 float lengthSquared() const { return this->dot(*this); } in lengthSquared() function
122 float length() const { return sqrtf(lengthSquared()); } in length()
DFloatPoint.cpp55 return sqrtf(lengthSquared()); in length()
DFloatPoint.h107 float lengthSquared() const in lengthSquared() function
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DVector2f.java289 return FastMath.sqrt(lengthSquared()); in length()
298 public float lengthSquared() { in lengthSquared() method in Vector2f
DVector3f.java388 float d = other.lengthSquared(); // |B|^2 in project()
410 return FastMath.sqrt(lengthSquared()); in length()
419 public float lengthSquared() { in lengthSquared() method in Vector3f
DVector4f.java320 float d = other.lengthSquared(); // |B|^2 in project()
342 return FastMath.sqrt(lengthSquared()); in length()
351 public float lengthSquared() { in lengthSquared() method in Vector4f
DLineSegment.java129 float len = compVec1.lengthSquared(); in distanceSquared()
142 float lengthOfDiff = compVec1.lengthSquared(); in distanceSquared()
424 float fC = kDiff.lengthSquared(); in distanceSquared()
DRing.java194 if (b1.lengthSquared() < FastMath.FLT_EPSILON) { in random()
DLine.java121 float len = compVec1.lengthSquared(); in distanceSquared()
DRay.java420 float len = tempVa.lengthSquared(); in distanceSquared()
/external/webkit/Source/WebCore/platform/graphics/gpu/
DLoopBlinnMathUtils.cpp128 return (v0 - v1).lengthSquared() < Epsilon * Epsilon; in approxEqual()
/external/jmonkeyengine/engine/src/core/com/jme3/util/
DTangentBinormalGenerator.java305 return (a.subtract(b).cross(c.subtract(b))).lengthSquared() == 0; in isDegenerateTriangle()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0664751 (WebCore::FloatPoint::lengthSquared):
64955 addition and subtraction operators, length, lengthSquared and
64968 (WebCore::FloatPoint3D::lengthSquared):
70435 (WebCore::Vector3::lengthSquared):