From 2aa5fffc27439b13d782c657bff6a9a211ebaa21 Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Mon, 4 Mar 2024 14:31:13 -0500 Subject: [PATCH] Disable Vtx rounding with DynOS gfx generation --- data/dynos_bin_vtx.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/data/dynos_bin_vtx.cpp b/data/dynos_bin_vtx.cpp index ad9bf41a..79e557e1 100644 --- a/data/dynos_bin_vtx.cpp +++ b/data/dynos_bin_vtx.cpp @@ -8,15 +8,15 @@ extern "C" { #define F32VTX_SENTINEL_2 0x5854 static inline bool ShouldUseF32Vtx(DataNode* aNode) { - for (u32 i = 0; i != aNode->mSize; ++i) { - for (u32 j = 0; j != 3; ++j) { - if (aNode->mData[i].n.ob[j] < -0x7FFF || - aNode->mData[i].n.ob[j] > +0x7FFF) { - return true; - } - } - } - return false; + // for (u32 i = 0; i != aNode->mSize; ++i) { + // for (u32 j = 0; j != 3; ++j) { + // if (aNode->mData[i].n.ob[j] < -0x7FFF || + // aNode->mData[i].n.ob[j] > +0x7FFF) { + // return true; + // } + // } + // } + return true; } static inline bool IsUsingF32Vtx(Vec3f ob) {