Home
last modified time | relevance | path

Searched refs:secondPoint (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSGradientValue.cpp571 …oat angleDeg, const IntSize& size, FloatPoint& firstPoint, FloatPoint& secondPoint, CSSGradientTyp… in endPointsFromAngle() argument
583 secondPoint.set(0, 0); in endPointsFromAngle()
589 secondPoint.set(size.width(), 0); in endPointsFromAngle()
595 secondPoint.set(0, size.height()); in endPointsFromAngle()
601 secondPoint.set(0, 0); in endPointsFromAngle()
633 secondPoint.set(halfWidth + endX, halfHeight - endY); in endPointsFromAngle()
643 FloatPoint secondPoint; in createGradient() local
646 endPointsFromAngle(angle, size, firstPoint, secondPoint, m_gradientType); in createGradient()
652secondPoint = computeEndPoint(m_secondX.get(), m_secondY.get(), conversionData, size); in createGradient()
655 secondPoint.setX(size.width() - firstPoint.x()); in createGradient()
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/geomipmap/
DLODGeomap.java879 …private Vector3f getNormal(Vector3f firstPoint, Vector3f rootPoint, Vector3f secondPoint, Vector3f… in getNormal() argument
886 float x2 = secondPoint.x - rootPoint.x; in getNormal()
887 float y2 = secondPoint.y - rootPoint.y; in getNormal()
888 float z2 = secondPoint.z - rootPoint.z; in getNormal()
DTerrainPatch.java570 … private Vector3f calculateNormal(Vector3f firstPoint, Vector3f rootPoint, Vector3f secondPoint) { in calculateNormal() argument
573 .crossLocal(secondPoint.subtract(rootPoint)).normalizeLocal(); in calculateNormal()