Exemplo n.º 1
0
 public override string ToString()
 {
     return
         (name +
          // "\t0x"+offsModel.ToString("X8") +
          // "\t(" + px + ", " + py +  ", " + pz + ") " +
          // "\t" + null1 +
          "\t" + unk1 +
          "\t" + position.ToString() +
          "\t" + angle.ToString() +
          "\t" + ((CTREvent)evt).ToString()
         );
 }
Exemplo n.º 2
0
        public override string ToString()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(position.ToString());
            sb.Append(", " + angle.ToString());
            sb.Append(", " + unk11);
            sb.Append(", " + unk12);
            sb.Append(", " + unk2);
            sb.Append(", " + unk3);
            sb.Append(", " + pos);
            sb.Append(", " + unk5);

            return(sb.ToString());
        }
Exemplo n.º 3
0
        public void Read(BinaryReaderEx br)
        {
            br.Jump(256 + 2);
            int datasize = br.ReadInt16();

            br.Seek(2 + 2 + 4 + 4 + 4 + 5 * 4);

            StringBuilder sb = new StringBuilder();

            for (int i = 0; i < datasize / 6; i++)
            {
                Vector3s v = new Vector3s(br);

                sb.AppendFormat("v {0}\r\n", v.ToString(CTRFramework.VecFormat.Numbers));
            }

            File.WriteAllText("testghost.obj", sb.ToString());
        }
Exemplo n.º 4
0
 public override string ToString()
 {
     return("Pos: " + Position.ToString() + " Ang: " + Angle.ToString());
 }