|
@@ -18,6 +18,11 @@ public static class RenderUtils
|
|
|
vecTemp.Set(pos.X, pos.Z, MapHeight - pos.Y);
|
|
|
return vecTemp;
|
|
|
}
|
|
|
+ public static UnityEngine.Vector3 UnityPosFromBattle(UnityEngine.Vector3 pos)
|
|
|
+ {
|
|
|
+ vecTemp.Set(pos.x, pos.z, MapHeight - pos.y);
|
|
|
+ return vecTemp;
|
|
|
+ }
|
|
|
|
|
|
public static UnityEngine.Quaternion UnityRotationFromBattle(float rotation, float rotationX = 0f)
|
|
|
{
|