예제 #1
0
 public override string ToString()
 {
     return("X Y Z:" +
            Utils3ds.floatToString(X, 14) +
            Utils3ds.floatToString(Y, 14) +
            Utils3ds.floatToString(Z, 14));
 }
예제 #2
0
 /**
  * Returns a String object representing this Face3ds's value.
  *
  * @return a string representation of this object.
  */
 public override string ToString()
 {
     return("P0 P1 P2:" +
            Utils3ds.intToString(P0, 6) +
            Utils3ds.intToString(P1, 6) +
            Utils3ds.intToString(P2, 6) +
            "  Flags: " + ((Flags & AB_VISIBLE) != 0 ? "AB" : "--") +
            " " + ((Flags & BC_VISIBLE) != 0 ? "BC" : "--") +
            " " + ((Flags & CA_VISIBLE) != 0 ? "CA" : "--") +
            "  " + ((Flags & U_WRAP) != 0 ? "U"  : "-") +
            " " + ((Flags & V_WRAP) != 0 ? "V"  : "-"));
 }
예제 #3
0
 /**
  * Returns a String object representing this TexCoord3ds's value.
  *
  * @return a string representation of this object.
  */
 public override string ToString()
 {
     return("U V:" +
            Utils3ds.floatToString(U, 10) +
            Utils3ds.floatToString(V, 10));
 }