Exemplo n.º 1
0
 public void InitLine(Vector3 p1, Vector3 p2, ref Color c1, ref Color c2, float duration)
 {
     m_Type  = IMDrawCommandType.LINE;
     m_Verts = IMDrawVertexCount.LINE;
     m_P1    = p1;
     m_P2    = p2;
     m_C1    = c1;
     m_C2    = c2;
     m_T     = duration;
 }
Exemplo n.º 2
0
 public void InitLine(Vector3 p1, Vector3 p2, ref Color color)
 {
     m_Type  = IMDrawCommandType.LINE;
     m_Verts = IMDrawVertexCount.LINE;
     m_P1    = p1;
     m_P2    = p2;
     m_C1    = color;
     m_C2    = color;
     m_T     = 0f;
 }