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