StelVertexArray.hpp   StelVertexArray.hpp 
skipping to change at line 153 skipping to change at line 153
return specForeachTriangle<false, true, fals e, Func>(func); return specForeachTriangle<false, true, fals e, Func>(func);
} }
else // not indiced else // not indiced
{ {
if (colored) if (colored)
return specForeachTriangle<false, false, tru e, Func>(func); return specForeachTriangle<false, false, tru e, Func>(func);
else else
return specForeachTriangle<false, false, fal se, Func>(func); return specForeachTriangle<false, false, fal se, Func>(func);
} }
} }
Q_ASSERT(0); // GZ. Just make sure...
} }
template<bool T, bool I, bool C, class Func> template<bool T, bool I, bool C, class Func>
Func StelVertexArray::specForeachTriangle(Func func) const Func StelVertexArray::specForeachTriangle(Func func) const
{ {
switch (primitiveType) switch (primitiveType)
{ {
case StelVertexArray::Triangles: case StelVertexArray::Triangles:
Q_ASSERT(vertex.size() % 3 == 0); Q_ASSERT(vertex.size() % 3 == 0);
for (int i = 0; i < vertex.size(); i += 3) for (int i = 0; i < vertex.size(); i += 3)
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/