Beispiel #1
0
            internal static _DrawBox DrawBox()
            {
                if (_DrawBoxFunc == null)
                {
                    _DrawBoxFunc =
                        (_DrawBox)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnDebugDrawer_drawBox"), typeof(_DrawBox));
                }

                return(_DrawBoxFunc);
            }
            internal static _DrawBox DrawBox()
            {
                if (_DrawBoxFunc == null)
                {
                    _DrawBoxFunc =
                        (_DrawBox)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnDebugDrawer_drawBox"), typeof(_DrawBox));
                }

                return(_DrawBoxFunc);
            }