Home
last modified time | relevance | path

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

123

/external/webkit/Source/WebCore/platform/graphics/
DFloatPoint3D.h30 class 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 …]
DGraphicsLayer.h93 class FloatPoint3D; variable
243 const FloatPoint3D& anchorPoint() const { return m_anchorPoint; } in anchorPoint()
244 virtual void setAnchorPoint(const FloatPoint3D& p) { m_anchorPoint = p; } in setAnchorPoint()
393 FloatPoint3D m_anchorPoint;
DFloatPoint3D.cpp30 void FloatPoint3D::normalize() in normalize()
/external/webkit/Source/WebCore/webaudio/
DAudioListener.h48 void setPosition(double x, double y, double z) { setPosition(FloatPoint3D(x, y, z)); } in setPosition()
49 void setPosition(const FloatPoint3D &position) { m_position = position; } in setPosition()
50 const FloatPoint3D& position() const { return m_position; } in position()
55 setOrientation(FloatPoint3D(x, y, z)); in setOrientation()
56 setUpVector(FloatPoint3D(upX, upY, upZ)); in setOrientation()
58 void setOrientation(const FloatPoint3D &orientation) { m_orientation = orientation; } in setOrientation()
59 const FloatPoint3D& orientation() const { return m_orientation; } in orientation()
62 void setUpVector(const FloatPoint3D &upVector) { m_upVector = upVector; } in setUpVector()
63 const FloatPoint3D& upVector() const { return m_upVector; } in upVector()
66 void setVelocity(double x, double y, double z) { setVelocity(FloatPoint3D(x, y, z)); } in setVelocity()
[all …]
DAudioPannerNode.cpp61 m_position = FloatPoint3D(0, 0, 0); in AudioPannerNode()
62 m_orientation = FloatPoint3D(1, 0, 0); in AudioPannerNode()
63 m_velocity = FloatPoint3D(0, 0, 0); in AudioPannerNode()
168 FloatPoint3D listenerPosition = listener()->position(); in getAzimuthElevation()
169 FloatPoint3D sourceListener = m_position - listenerPosition; in getAzimuthElevation()
181 FloatPoint3D listenerFront = listener()->orientation(); in getAzimuthElevation()
182 FloatPoint3D listenerUp = listener()->upVector(); in getAzimuthElevation()
183 FloatPoint3D listenerRight = listenerFront.cross(listenerUp); in getAzimuthElevation()
186 FloatPoint3D listenerFrontNorm = listenerFront; in getAzimuthElevation()
189 FloatPoint3D up = listenerRight.cross(listenerFrontNorm); in getAzimuthElevation()
[all …]
DAudioPannerNode.h78 FloatPoint3D position() const { return m_position; } in position()
79 void setPosition(float x, float y, float z) { m_position = FloatPoint3D(x, y, z); } in setPosition()
82 FloatPoint3D orientation() const { return m_position; } in orientation()
83 void setOrientation(float x, float y, float z) { m_orientation = FloatPoint3D(x, y, z); } in setOrientation()
86 FloatPoint3D velocity() const { return m_velocity; } in velocity()
87 void setVelocity(float x, float y, float z) { m_velocity = FloatPoint3D(x, y, z); } in setVelocity()
132 FloatPoint3D m_position;
133 FloatPoint3D m_orientation;
134 FloatPoint3D m_velocity;
/external/webkit/Source/WebCore/platform/graphics/gpu/
DLoopBlinnTextureCoords.cpp62 result.klmCoordinates[0] = FloatPoint3D(ls * ms, in compute()
65 result.klmCoordinates[1] = FloatPoint3D(OneThird * (3.0f * ls * ms - ls * mt - lt * ms), in compute()
68 …result.klmCoordinates[2] = FloatPoint3D(OneThird * (lt * (mt - 2.0f * ms) + ls * (3.0f * ms - 2.0f… in compute()
71 result.klmCoordinates[3] = FloatPoint3D(ltMinusLs * mtMinusMs, in compute()
104 result.klmCoordinates[0] = FloatPoint3D(ls * ms, in compute()
107 result.klmCoordinates[1] = FloatPoint3D(OneThird * (-ls * mt - lt * ms + 3.0f * ls * ms), in compute()
110 …result.klmCoordinates[2] = FloatPoint3D(OneThird * (lt * (mt - 2.0f * ms) + ls * (3.0f * ms - 2.0f… in compute()
113 result.klmCoordinates[3] = FloatPoint3D(ltMinusLs * mtMinusMs, in compute()
125 result.klmCoordinates[0] = FloatPoint3D(ls, in compute()
128 result.klmCoordinates[1] = FloatPoint3D(ls - OneThird * lt, in compute()
[all …]
DLoopBlinnClassifier.cpp48 FloatPoint3D b0(c0.x(), c0.y(), 1.0f); in classify()
49 FloatPoint3D b1(c1.x(), c1.y(), 1.0f); in classify()
50 FloatPoint3D b2(c2.x(), c2.y(), 1.0f); in classify()
51 FloatPoint3D b3(c3.x(), c3.y(), 1.0f); in classify()
69 FloatPoint3D nd(d1, d2, d3); in classify()
DLoopBlinnMathUtils.h40 bool approxEqual(const FloatPoint3D& v0, const FloatPoint3D& v1);
DLoopBlinnLocalTriangulator.cpp75 FloatPoint3D point0(m_vertices[0]->xyCoordinates()); in makeCounterClockwise()
76 FloatPoint3D point1(m_vertices[1]->xyCoordinates()); in makeCounterClockwise()
77 FloatPoint3D point2(m_vertices[2]->xyCoordinates()); in makeCounterClockwise()
78 FloatPoint3D crossProduct = (point1 - point0).cross(point2 - point0); in makeCounterClockwise()
DLoopBlinnLocalTriangulator.h59 const FloatPoint3D& klmCoordinates() const in klmCoordinates()
114 FloatPoint3D m_klmCoordinates;
DLoopBlinnTextureCoords.h52 FloatPoint3D klmCoordinates[4];
/external/webkit/Source/WebCore/platform/graphics/filters/
DSpotLightSource.h33 static PassRefPtr<SpotLightSource> create(const FloatPoint3D& position, in create()
34 const FloatPoint3D& direction, float specularExponent, float limitingConeAngle) in create()
39 const FloatPoint3D& position() const { return m_position; } in position()
43 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.h33 static PassRefPtr<PointLightSource> create(const FloatPoint3D& position) in create()
38 const FloatPoint3D& position() const { return m_position; } in position()
49 PointLightSource(const FloatPoint3D& position) in PointLightSource()
55 FloatPoint3D m_position;
DLightSource.h52 FloatPoint3D lightVector;
53 FloatPoint3D colorVector;
56 FloatPoint3D directionVector;
57 FloatPoint3D privateColorVector;
DPointLightSource.cpp76 static TextStream& operator<<(TextStream& ts, const FloatPoint3D& p) in operator <<()
/external/webkit/Source/WebCore/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.h43 …double gain(FloatPoint3D sourcePosition, FloatPoint3D sourceOrientation, FloatPoint3D listenerPosi…
/external/webkit/Source/WebCore/platform/graphics/ca/
DPlatformCALayer.h122 FloatPoint3D position() const;
123 void setPosition(const FloatPoint3D&);
124 void setPosition(const FloatPoint& pos) { setPosition(FloatPoint3D(pos.x(), pos.y(), 0)); } in setPosition()
126 FloatPoint3D anchorPoint() const;
127 void setAnchorPoint(const FloatPoint3D&);
DPlatformCAAnimation.h114 void setFromValue(const FloatPoint3D&);
120 void setToValue(const FloatPoint3D&);
127 void setValues(const Vector<FloatPoint3D>&);
/external/webkit/Source/WebCore/svg/
DSVGFESpotLightElement.cpp41 FloatPoint3D pos(x(), y(), z()); in lightSource()
42 FloatPoint3D direction(pointsAtX(), pointsAtY(), pointsAtZ()); in lightSource()
DSVGFEPointLightElement.cpp41 return PointLightSource::create(FloatPoint3D(x(), y(), z())); in lightSource()
/external/webkit/Source/WebCore/platform/graphics/ca/win/
DPlatformCALayerWin.cpp335 FloatPoint3D PlatformCALayer::position() const in position()
338 return FloatPoint3D(point.x, point.y, CACFLayerGetZPosition(m_layer.get())); in position()
341 void PlatformCALayer::setPosition(const FloatPoint3D& value) in setPosition()
348 FloatPoint3D PlatformCALayer::anchorPoint() const in anchorPoint()
352 return FloatPoint3D(point.x, point.y, z); in anchorPoint()
355 void PlatformCALayer::setAnchorPoint(const FloatPoint3D& value) in setAnchorPoint()
609 FloatPoint3D layerPosition = layer->position(); in printLayer()
610 FloatPoint3D layerAnchorPoint = layer->anchorPoint(); in printLayer()
/external/webkit/Source/WebCore/platform/graphics/android/
DGraphicsLayerAndroid.h31 class FloatPoint3D; variable
62 virtual void setAnchorPoint(const FloatPoint3D&);
/external/webkit/Source/WebCore/platform/graphics/transforms/
DTransformationMatrix.h63 class FloatPoint3D; variable
126 FloatPoint3D mapPoint(const FloatPoint3D&) const;

123