コード例 #1
0
        private float3 GetCellPosition(int x, int y, int z)
        {
            Vector3 position;

            position.x = PositionCalculator.GetPositionX(x, z);
            position.y = PositionCalculator.GetPositionY(y);
            position.z = PositionCalculator.GetPositionZ(z);

            return(new float3(position.x, position.y, position.z));
        }