// This must not be done in PovTools::writeShape!\r
long t = Transparency.getValue();\r
const App::Color& c = Color.getValue();\r
- result << "// instance to render" << endl\r
- << "object {" << Name << endl\r
- << " texture {" << endl;\r
+ result << "// instance to render" << std::endl\r
+ << "object {" << Name << std::endl\r
+ << " texture {" << std::endl;\r
if (t == 0) {\r
- result << " pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<">}" << endl;\r
+ result << " pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<">}" << std::endl;\r
}\r
else {\r
float trans = t/100.0f;\r
- result << " pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<"> transmit "<<trans<<"}" << endl;\r
+ result << " pigment {color rgb <"<<c.r<<","<<c.g<<","<<c.b<<"> transmit "<<trans<<"}" << std::endl;\r
}\r
- result << " finish {StdFinish } //definition on top of the project" << endl\r
- << " }" << endl\r
- << "}" << endl ;\r
+ result << " finish {StdFinish } //definition on top of the project" << std::endl\r
+ << " }" << std::endl\r
+ << "}" << std::endl ;\r
\r
// Apply the resulting fragment\r
Result.setValue(result.str().c_str());\r