| 239 | } |
| 240 | |
| 241 | void XMLWriter::store_parm(const char* name, const float& v) { |
| 242 | tab(); xml << "<float name=\"" << name << "\">" << v << "</float>" << std::endl; |
| 243 | } |
| 244 | |
| 245 | void XMLWriter::store_parm(const char* name, const Vec3fa& v) { |
| 246 | tab(); xml << "<float3 name=\"" << name << "\">" << v.x << " " << v.y << " " << v.z << "</float3>" << std::endl; |