MCPcopy Create free account
hub / github.com/RenderKit/embree / transform

Method transform

tutorials/common/scenegraph/lights.h:102–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 : Light(LIGHT_SPOT), P(P), D(D), I(I), angleMin(angleMin), angleMax(angleMax) {}
101
102 SpotLight transform(const AffineSpace3fa& space) const {
103 return SpotLight(xfmPoint(space,P),xfmVector(space,D),I,angleMin,angleMax);
104 }
105
106 static SpotLight lerp(const SpotLight& light0, const SpotLight& light1, const float f)
107 {

Callers 5

loadPointLightMethod · 0.45
loadSpotLightMethod · 0.45
loadDirectionalLightMethod · 0.45
loadDistantLightMethod · 0.45

Calls 3

SpotLightClass · 0.70
xfmPointFunction · 0.50
xfmVectorFunction · 0.50

Tested by

no test coverage detected