Home
last modified time | relevance | path

Searched refs:FloatPoint3D (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatPoint3D.h30 class PLATFORM_EXPORT FloatPoint3D {
32 FloatPoint3D() in FloatPoint3D() function
39 FloatPoint3D(float x, float y, float z) in FloatPoint3D() function
46 FloatPoint3D(const FloatPoint& p) in FloatPoint3D() function
53 FloatPoint3D(const FloatPoint3D& p) in FloatPoint3D() function
94 float dot(const FloatPoint3D& a) const in dot()
102 void cross(const FloatPoint3D& a, const FloatPoint3D& b) in cross()
114 FloatPoint3D cross(const FloatPoint3D& point) const in cross()
116 FloatPoint3D result; in cross()
124 float distanceTo(const FloatPoint3D& a) const;
[all …]
DFloatPoint3D.cpp30 void FloatPoint3D::normalize() in normalize()
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
DAudioListener.h49 void setPosition(float x, float y, float z) { setPosition(FloatPoint3D(x, y, z)); } in setPosition()
50 void setPosition(const FloatPoint3D &position) { m_position = position; } in setPosition()
51 const FloatPoint3D& position() const { return m_position; } in position()
56 setOrientation(FloatPoint3D(x, y, z)); in setOrientation()
57 setUpVector(FloatPoint3D(upX, upY, upZ)); in setOrientation()
59 void setOrientation(const FloatPoint3D &orientation) { m_orientation = orientation; } in setOrientation()
60 const FloatPoint3D& orientation() const { return m_orientation; } in orientation()
63 void setUpVector(const FloatPoint3D &upVector) { m_upVector = upVector; } in setUpVector()
64 const FloatPoint3D& upVector() const { return m_upVector; } in upVector()
67 void setVelocity(float x, float y, float z) { setVelocity(FloatPoint3D(x, y, z)); } in setVelocity()
[all …]
DPannerNode.cpp67 m_position = FloatPoint3D(0, 0, 0); in PannerNode()
68 m_orientation = FloatPoint3D(1, 0, 0); in PannerNode()
69 m_velocity = FloatPoint3D(0, 0, 0); in PannerNode()
267 FloatPoint3D listenerPosition = listener()->position(); in getAzimuthElevation()
268 FloatPoint3D sourceListener = m_position - listenerPosition; in getAzimuthElevation()
280 FloatPoint3D listenerFront = listener()->orientation(); in getAzimuthElevation()
281 FloatPoint3D listenerUp = listener()->upVector(); in getAzimuthElevation()
282 FloatPoint3D listenerRight = listenerFront.cross(listenerUp); in getAzimuthElevation()
285 FloatPoint3D listenerFrontNorm = listenerFront; in getAzimuthElevation()
288 FloatPoint3D up = listenerRight.cross(listenerFrontNorm); in getAzimuthElevation()
[all …]
DPannerNode.h87 FloatPoint3D position() const { return m_position; } in position()
88 void setPosition(float x, float y, float z) { m_position = FloatPoint3D(x, y, z); } in setPosition()
91 FloatPoint3D orientation() const { return m_position; } in orientation()
92 void setOrientation(float x, float y, float z) { m_orientation = FloatPoint3D(x, y, z); } in setOrientation()
95 FloatPoint3D velocity() const { return m_velocity; } in velocity()
96 void setVelocity(float x, float y, float z) { m_velocity = FloatPoint3D(x, y, z); } in setVelocity()
145 FloatPoint3D m_position;
146 FloatPoint3D m_orientation;
147 FloatPoint3D m_velocity;
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DSpotLightSource.h32 static PassRefPtr<SpotLightSource> create(const FloatPoint3D& position, in create()
33 const FloatPoint3D& direction, float specularExponent, float limitingConeAngle) in create()
38 const FloatPoint3D& position() const { return m_position; } in position()
39 const FloatPoint3D& direction() const { return m_direction; } in direction()
59 SpotLightSource(const FloatPoint3D& position, const FloatPoint3D& direction, in SpotLightSource()
69 FloatPoint3D m_position;
70 FloatPoint3D m_direction;
DPointLightSource.h32 static PassRefPtr<PointLightSource> create(const FloatPoint3D& position) in create()
37 const FloatPoint3D& position() const { return m_position; } in position()
48 PointLightSource(const FloatPoint3D& position) in PointLightSource()
54 FloatPoint3D m_position;
DLightSource.h52 FloatPoint3D lightVector;
53 FloatPoint3D colorVector;
56 FloatPoint3D directionVector;
57 FloatPoint3D privateColorVector;
DPointLightSource.cpp74 static TextStream& operator<<(TextStream& ts, const FloatPoint3D& p) in operator <<()
DFELighting.cpp190 FloatPoint3D halfwayVector = paintingData.lightVector; in inlineSetPixel()
199 FloatPoint3D normalVector; in inlineSetPixel()
208 FloatPoint3D halfwayVector = paintingData.lightVector; in inlineSetPixel()
315 …paintingData.colorVector = FloatPoint3D(m_lightingColor.red(), m_lightingColor.green(), m_lighting… in drawLighting()
431 FloatPoint3D position = pointLightSource->position(); in createImageFilter()
DSpotLightSource.cpp178 static TextStream& operator<<(TextStream& ts, const FloatPoint3D& p) in operator <<()
/external/chromium_org/third_party/WebKit/Source/platform/audio/
DCone.cpp45 double ConeEffect::gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D l… in gain()
51 FloatPoint3D sourceToListener = listenerPosition - sourcePosition; in gain()
54 FloatPoint3D normalizedSourceOrientation = sourceOrientation; in gain()
DCone.h44 …double gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D listenerPosi…
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGFESpotLightElement.cpp41 FloatPoint3D pos(xCurrentValue(), yCurrentValue(), zCurrentValue()); in lightSource()
42FloatPoint3D direction(pointsAtXCurrentValue(), pointsAtYCurrentValue(), pointsAtZCurrentValue()); in lightSource()
DSVGFEPointLightElement.cpp41 … return PointLightSource::create(FloatPoint3D(xCurrentValue(), yCurrentValue(), zCurrentValue())); in lightSource()
/external/chromium_org/third_party/WebKit/Source/platform/transforms/
DTransformationMatrix.h118 FloatPoint3D mapPoint(const FloatPoint3D&) const;
344 FloatPoint3D internalMapPoint(const FloatPoint3D& sourcePoint) const in internalMapPoint()
350 …return FloatPoint3D(static_cast<float>(resultX), static_cast<float>(resultY), static_cast<float>(r… in internalMapPoint()
DTransformationMatrix.cpp657 FloatPoint3D TransformationMatrix::mapPoint(const FloatPoint3D& p) const in mapPoint()
660 return FloatPoint3D(p.x() + static_cast<float>(m_matrix[3][0]), in mapPoint()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsLayer.h151 const FloatPoint3D& anchorPoint() const { return m_anchorPoint; } in anchorPoint()
152 void setAnchorPoint(const FloatPoint3D&);
346 FloatPoint3D m_anchorPoint;
DGraphicsLayer.cpp597 if (m_anchorPoint != FloatPoint3D(0.5f, 0.5f, 0)) { in dumpProperties()
817 void GraphicsLayer::setAnchorPoint(const FloatPoint3D& point) in setAnchorPoint()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DCompositedLayerMapping.h232 FloatPoint3D computeTransformOrigin(const IntRect& borderBox) const;
DCompositedLayerMapping.cpp685 FloatPoint3D transformOrigin = computeTransformOrigin(borderBox); in updateGraphicsLayerGeometry()
687FloatPoint3D anchor(relativeCompositingBounds.width() != 0.0f ? ((layerBounds.x() - relativeCompos… in updateGraphicsLayerGeometry()
710 m_graphicsLayer->setAnchorPoint(FloatPoint3D(0.5f, 0.5f, 0)); in updateGraphicsLayerGeometry()
1157 m_backgroundLayer->setAnchorPoint(FloatPoint3D()); in updateBackgroundLayer()
1621 FloatPoint3D CompositedLayerMapping::computeTransformOrigin(const IntRect& borderBox) const in computeTransformOrigin()
1625 FloatPoint3D origin; in computeTransformOrigin()
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DInspectorLayerTreeAgent.cpp103 const FloatPoint3D& anchor = graphicsLayer->anchorPoint(); in buildObjectForLayer()
/external/chromium_org/third_party/WebKit/Source/platform/
Dblink_platform.gypi399 'geometry/FloatPoint3D.cpp',
400 'geometry/FloatPoint3D.h',
Dblink_platform.target.linux-mips.mk220 third_party/WebKit/Source/platform/geometry/FloatPoint3D.cpp \
Dblink_platform.target.linux-x86.mk220 third_party/WebKit/Source/platform/geometry/FloatPoint3D.cpp \

12