public static GetPosition ( Primitive shapeName ) : Primitive | ||
shapeName | Primitive | /// The shape name. /// |
return | Primitive |
public static Primitive GetPosition(Primitive shapeName)
{
float[] pos = new float[2];
pos = _Engine.getPosition(shapeName);
return Utilities.CreateArrayMap("1=" + pos[0].ToString(CultureInfo.InvariantCulture) + ";2=" + pos[1].ToString(CultureInfo.InvariantCulture) + ";");
}