From 26ea7d2ea87d5497444cd737ca182f8559227a28 Mon Sep 17 00:00:00 2001 From: zhouhang95 <765229842@qq.com> Date: Tue, 12 Sep 2023 15:31:12 +0800 Subject: [PATCH] fix-cpp-wirte --- zeno/src/nodes/neo/WriteObjPrim.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeno/src/nodes/neo/WriteObjPrim.cpp b/zeno/src/nodes/neo/WriteObjPrim.cpp index e297e621f4..91bdb0c567 100644 --- a/zeno/src/nodes/neo/WriteObjPrim.cpp +++ b/zeno/src/nodes/neo/WriteObjPrim.cpp @@ -20,7 +20,7 @@ namespace { void dump_obj(PrimitiveObject *prim, std::ostream &fout) { fout << "# https://github.com/zenustech/zeno\n"; - fout << std::setiosflags(std::ios::fixed) << std::setprecision(6); + fout << std::setprecision(8); for (auto const &[x, y, z]: prim->verts) { fout << "v " << x << ' ' << y << ' ' << z << '\n'; }