MCPcopy Create free account
hub / github.com/LuxCoreRender/LuxCore / BOOST_FOREACH

Function BOOST_FOREACH

src/luxrays/accelerators/embreeaccel.cpp:119–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117 minTime = std::numeric_limits<float>::max();
118 maxTime = std::numeric_limits<float>::min();
119 BOOST_FOREACH(const Mesh *mesh, meshes) {
120 const MotionTriangleMesh *mtm = dynamic_cast<const MotionTriangleMesh *>(mesh);
121
122 if (mtm) {
123 minTime = Min(minTime, mtm->GetMotionSystem().StartTime());
124 maxTime = Max(maxTime, mtm->GetMotionSystem().EndTime());
125 }
126 }
127
128 if ((minTime == std::numeric_limits<float>::max()) ||
129 (maxTime == std::numeric_limits<float>::min())) {

Callers 1

~EmbreeAccelMethod · 0.70

Calls 10

MinFunction · 0.85
MaxFunction · 0.85
StartTimeMethod · 0.80
GetMotionSystemMethod · 0.80
EndTimeMethod · 0.80
GetTriangleMeshMethod · 0.80
ToStringFunction · 0.50
GetTypeMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected