mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-11 21:38:56 -05:00
rename Write to Draw
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user