OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:lightVector
(Results
1 - 5
of
5
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/filters/
DistantLightSource.cpp
44
paintingData.
lightVector
.setX(cosf(azimuth) * cosf(elevation));
45
paintingData.
lightVector
.setY(sinf(azimuth) * cosf(elevation));
46
paintingData.
lightVector
.setZ(sinf(elevation));
PointLightSource.cpp
46
paintingData.
lightVector
.setX(m_position.x() - x);
47
paintingData.
lightVector
.setY(m_position.y() - y);
48
paintingData.
lightVector
.setZ(m_position.z() - z);
49
paintingData.lightVectorLength = paintingData.
lightVector
.length();
SpotLightSource.cpp
77
paintingData.
lightVector
.setX(m_position.x() - x);
78
paintingData.
lightVector
.setY(m_position.y() - y);
79
paintingData.
lightVector
.setZ(m_position.z() - z);
80
paintingData.lightVectorLength = paintingData.
lightVector
.length();
82
float cosineOfAngle = (paintingData.
lightVector
* paintingData.directionVector) / paintingData.lightVectorLength;
LightSource.h
52
FloatPoint3D
lightVector
;
FELighting.cpp
191
lightStrength = m_diffuseConstant * paintingData.
lightVector
.z() / paintingData.lightVectorLength;
193
FloatPoint3D halfwayVector = paintingData.
lightVector
;
209
lightStrength = m_diffuseConstant * (normalVector * paintingData.
lightVector
) / (normalVectorLength * paintingData.lightVectorLength);
211
FloatPoint3D halfwayVector = paintingData.
lightVector
;
455
floatArguments.lightX = paintingData.
lightVector
.x();
456
floatArguments.lightY = paintingData.
lightVector
.y();
457
floatArguments.lightZ = paintingData.
lightVector
.z();
Completed in 282 milliseconds