From 5b6e4467e9e740e9a9402e7aa310b76c95023ca4 Mon Sep 17 00:00:00 2001 From: tovjemam Date: Tue, 9 Jun 2026 19:21:46 +0200 Subject: [PATCH] Dont draw character bones debug --- src/gameview/characterview.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gameview/characterview.cpp b/src/gameview/characterview.cpp index b5501a5..5c2a558 100644 --- a/src/gameview/characterview.cpp +++ b/src/gameview/characterview.cpp @@ -95,17 +95,17 @@ void game::view::CharacterView::Draw(const DrawArgs& args) //args.dlist.AddBeam(start, end, 0xFF007700, 0.05f); //// draw bones debug - const auto& bone_nodes = sk_.GetBoneNodes(); - for (const auto& bone_node : bone_nodes) - { - if (!bone_node.parent) - continue; + // const auto& bone_nodes = sk_.GetBoneNodes(); + // for (const auto& bone_node : bone_nodes) + // { + // if (!bone_node.parent) + // continue; - glm::vec3 p0 = bone_node.parent->matrix[3]; - glm::vec3 p1 = bone_node.matrix[3]; + // glm::vec3 p0 = bone_node.parent->matrix[3]; + // glm::vec3 p1 = bone_node.matrix[3]; - args.dlist.AddBeam(p0, p1, 0xFF00EEEE, 0.01f); - } + // args.dlist.AddBeam(p0, p1, 0xFF00EEEE, 0.01f); + // } // update skinning matrices if (!ubo_valid_)