------------------------------------------------------------------------------------------------ Starts writing the contents
| 130 | // ------------------------------------------------------------------------------------------------ |
| 131 | // Starts writing the contents |
| 132 | void XFileExporter::WriteFile() |
| 133 | { |
| 134 | // note, that all realnumber values must be comma separated in x files |
| 135 | mOutput.setf(std::ios::fixed); |
| 136 | mOutput.precision(ASSIMP_AI_REAL_TEXT_PRECISION); // precision for ai_real |
| 137 | |
| 138 | // entry of writing the file |
| 139 | WriteHeader(); |
| 140 | |
| 141 | mOutput << startstr << "Frame DXCC_ROOT {" << endstr; |
| 142 | PushTag(); |
| 143 | |
| 144 | aiMatrix4x4 I; // identity |
| 145 | WriteFrameTransform(I); |
| 146 | |
| 147 | WriteNode(mScene->mRootNode); |
| 148 | PopTag(); |
| 149 | |
| 150 | mOutput << startstr << "}" << endstr; |
| 151 | |
| 152 | } |
| 153 | |
| 154 | // ------------------------------------------------------------------------------------------------ |
| 155 | // Writes the asset header |
no test coverage detected