From 8dd9ef6a0a494b21120a45f315da7b71df71ca0d Mon Sep 17 00:00:00 2001 From: ousttrue Date: Mon, 10 May 2021 16:54:39 +0900 Subject: [PATCH] rename Write to Draw --- Assets/VRM10/Editor/Components/Constraint/Coords.cs | 2 +- .../Constraint/VRM10RotationConstraintEditor.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Assets/VRM10/Editor/Components/Constraint/Coords.cs b/Assets/VRM10/Editor/Components/Constraint/Coords.cs index d0f307c92..77a56fc74 100644 --- a/Assets/VRM10/Editor/Components/Constraint/Coords.cs +++ b/Assets/VRM10/Editor/Components/Constraint/Coords.cs @@ -5,7 +5,7 @@ namespace UniVRM10 { public static class Coords { - public static void Write(Matrix4x4 m, float size) + public static void Draw(Matrix4x4 m, float size) { Handles.matrix = m * Matrix4x4.Scale(new Vector3(size, size, size)); diff --git a/Assets/VRM10/Editor/Components/Constraint/VRM10RotationConstraintEditor.cs b/Assets/VRM10/Editor/Components/Constraint/VRM10RotationConstraintEditor.cs index f12f39e1d..f5adc601e 100644 --- a/Assets/VRM10/Editor/Components/Constraint/VRM10RotationConstraintEditor.cs +++ b/Assets/VRM10/Editor/Components/Constraint/VRM10RotationConstraintEditor.cs @@ -33,7 +33,7 @@ namespace UniVRM10 var s = m_target.transform.lossyScale.x; // init - Coords.Write(m_target.GetSourceModelCoords(), 0.2f / s); + Coords.Draw(m_target.GetSourceModelCoords(), 0.2f / s); } void SrcDrawLocalCoords() @@ -41,7 +41,7 @@ namespace UniVRM10 var s = m_target.transform.lossyScale.x; // init - Coords.Write(m_target.GetSourceLocalCoords(), 0.2f / s); + Coords.Draw(m_target.GetSourceLocalCoords(), 0.2f / s); } #endregion @@ -62,7 +62,7 @@ namespace UniVRM10 var s = m_target.transform.lossyScale.x; // init - Coords.Write(m_target.GetDstModelCoords(), 0.2f / s); + Coords.Draw(m_target.GetDstModelCoords(), 0.2f / s); } void DstDrawLocalCoords() @@ -70,7 +70,7 @@ namespace UniVRM10 var s = m_target.transform.lossyScale.x; // init - Coords.Write(m_target.GetDstLocalCoords(), 0.2f / s); + Coords.Draw(m_target.GetDstLocalCoords(), 0.2f / s); } #endregion