Exemple #1
0
        public float SafeDistanceTo(LuaVector2D p, bool bounded)
        {
            if (linedef.IsDisposed)
            {
                throw new ScriptRuntimeException("Linedef has been disposed, can't SafeDistanceTo.");
            }

            return(linedef.SafeDistanceTo(p.vec, bounded));
        }