OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:limitingConeAngle
(Results
1 - 2
of
2
) sorted by null
/external/webkit/Source/WebCore/platform/graphics/filters/
SpotLightSource.h
34
const FloatPoint3D& direction, float specularExponent, float
limitingConeAngle
)
36
return adoptRef(new SpotLightSource(position, direction, specularExponent,
limitingConeAngle
));
50
float
limitingConeAngle
() const { return m_limitingConeAngle; }
60
float specularExponent, float
limitingConeAngle
)
65
, m_limitingConeAngle(
limitingConeAngle
)
SpotLightSource.cpp
57
float
limitingConeAngle
= m_limitingConeAngle;
58
if (
limitingConeAngle
< 0.0f)
59
limitingConeAngle
= -
limitingConeAngle
;
60
if (
limitingConeAngle
> 90.0f)
61
limitingConeAngle
= 90.0f;
62
paintingData.coneCutOffLimit = cosf(deg2rad(180.0f -
limitingConeAngle
));
172
bool SpotLightSource::setLimitingConeAngle(float
limitingConeAngle
)
174
if (m_limitingConeAngle ==
limitingConeAngle
)
176
m_limitingConeAngle =
limitingConeAngle
;
[
all
...]
Completed in 438 milliseconds