Terraria v1.4.4.9
Terraria source code documentation
|
|
inlinestatic |
Definition at line 738 of file Math.cs.
Referenced by System.Reflection.Metadata.BlobBuilder.BlobBuilder(), System.Threading.PortableThreadPool.BlockingConfig.BlockingConfig(), System.Net.Http.HttpConnectionPoolManager.HttpConnectionPoolManager(), System.Reflection.Emit.ILGenerator.ILGenerator(), System.Collections.Immutable.ImmutableSortedSet< T >.Node.Node(), System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >.Node.Node(), System.Text.Json.Serialization.ReadBufferState.ReadBufferState(), System.Collections.Immutable.SortedInt32KeyNode< TValue >.SortedInt32KeyNode(), System.Text.StringBuilder.StringBuilder(), System.Text.StringBuilder.StringBuilder(), Terraria.GameContent.Biomes.Desert.SurfaceMap.SurfaceMap(), System.Xml.XmlBinaryReaderSession.Add(), System.Diagnostics.Tracing.EventSource.AddEventDescriptor(), Terraria.Cinematics.Film.AddKeyFrame(), System.Xml.XmlBinaryWriterSession.AddKeys(), Terraria.Cinematics.Film.AddSequence(), ReLogic.Utilities.MultiTimer.TimerData.AddTick(), Terraria.PopupText.AddToCoinValue(), System.Data.SqlTypes.SqlDecimal.AdjustScale(), System.Data.Common.ByteStorage.Aggregate(), System.Data.Common.DecimalStorage.Aggregate(), System.Data.Common.DoubleStorage.Aggregate(), System.Data.Common.Int16Storage.Aggregate(), System.Data.Common.Int32Storage.Aggregate(), System.Data.Common.Int64Storage.Aggregate(), System.Data.Common.SByteStorage.Aggregate(), System.Data.Common.SingleStorage.Aggregate(), System.Data.Common.UInt16Storage.Aggregate(), System.Data.Common.UInt32Storage.Aggregate(), System.Data.Common.UInt64Storage.Aggregate(), Terraria.NPC.AI(), Terraria.Projectile.AI(), Terraria.Projectile.AI_026(), Terraria.Projectile.AI_062(), Terraria.NPC.AI_112_FairyCritter(), Terraria.NPC.AI_118_Seahorses(), Terraria.Projectile.AI_145_BookStaffStorm(), Terraria.Projectile.AI_170_FairyGlowstick(), Terraria.Projectile.AI_174_MultisegmentPet(), Terraria.Projectile.AI_177_IceWhipSlicer(), System.Reflection.Metadata.Ecma335.MetadataBuilder.HeapBlobBuilder.AllocateChunk(), System.Reflection.Metadata.BlobBuilder.AllocateChunk(), Terraria.Cinematics.Film.AppendKeyFrames(), Terraria.Cinematics.Film.AppendSequences(), Terraria.WorldBuilding.Modifiers.RadialDither.Apply(), Terraria.Player.ApplyAttackCooldown(), Terraria.GameContent.Biomes.TerrainPass.ApplyPass(), System.Data.SqlTypes.SqlDecimal.CalculatePrecision(), Terraria.GameContent.Golf.GolfHelper.CalculateShotStrength(), System.Buffers.ArrayBufferWriter< T >.CheckAndResizeBuffer(), System.Text.Json.PooledByteBufferWriter.CheckAndResizeBuffer(), Terraria.WorldBuilding.WorldUtils.ClampToWorld(), System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.Clear(), Microsoft.Xna.Framework.TitleContainer.CollapseParentDirectory(), ReLogic.Content.AssetPathHelper.CollapseParentDirectory(), Terraria.WaterfallManager.Configuration_OnLoad(), System.Xml.Xsl.Runtime.NumberFormatter.ConvertToDecimal(), ReLogic.Peripherals.RGB.Fragment.CreateCanvasPositions(), System.Net.WebSockets.WebSocket.CreateClientBuffer(), ReLogic.Peripherals.RGB.Corsair.CorsairHelper.CreateFragment(), System.Diagnostics.Tracing.EventSource.CreateManifestAndDescriptors(), Microsoft.Xna.Framework.Graphics.Texture3D.CreateTexture(), Terraria.Projectile.Damage(), Terraria.Player.DashMovement(), Terraria.Main.DedServ(), System.Linq.Expressions.Interpreter.LocalVariables.DefineLocal(), System.Net.WebSockets.Compression.WebSocketDeflater.Deflate(), System.Xml.XmlCharacterData.DeleteData(), System.Text.Json.WriteStack.DisposePendingDisposablesOnException(), System.Text.Json.WriteStack.DisposePendingDisposablesOnExceptionAsync(), Terraria.Graphics.Light.LegacyLighting.doColors_Mode0_Swipe(), Terraria.Main.DoDraw(), System.Text.Json.BitStack.DoubleArray(), Terraria.Main.DoUpdate_HandleChat(), Terraria.GameContent.Skies.NebulaSky.Draw(), Terraria.GameContent.Skies.SolarSky.Draw(), Terraria.GameContent.Skies.StardustSky.Draw(), Terraria.GameContent.Skies.VortexSky.Draw(), Terraria.Main.DrawBlack(), Terraria.Main.DrawCapture(), Terraria.UI.Chat.ChatManager.DrawColorCodedString(), Terraria.UI.Chat.ChatManager.DrawColorCodedString(), Terraria.Graphics.Renderers.LegacyPlayerRenderer.DrawGhost(), Terraria.Main.DrawProjDirect(), Terraria.Main.DrawSplash_LoadingFlower(), Terraria.Main.DrawStar(), Terraria.Main.DrawSurfaceBG(), Terraria.Main.DrawSurfaceBG_GetFogPower(), Terraria.GameContent.Drawing.TileDrawing.DrawTile_LiquidBehindTile(), Terraria.Main.DrawUnderworldBackgroudLayer(), Terraria.Main.DrawWaters(), Terraria.GameContent.Shaders.WaterShaderData.DrawWaves(), Terraria.Cinematics.DD2Film.DryadPortalFade(), System.Text.Encodings.Web.TextEncoder.EncodeCore(), System.Text.Encodings.Web.TextEncoder.EncodeToNewString(), System.Collections.Immutable.ImmutableArray< T >.Builder.EnsureCapacity(), System.Collections.Generic.ArrayBuilder< T >.EnsureCapacity(), System.IO.MemoryStream.EnsureCapacity(), System.ComponentModel.EventDescriptorCollection.EnsureSize(), System.ComponentModel.PropertyDescriptorCollection.EnsureSize(), System.Net.Http.HPack.HPackDecoder.EnsureStringCapacity(), System.Xml.XmlCanonicalWriter.EnsureXmlnsBuffer(), Terraria.GameContent.UI.States.UIWorldCreation.EstablishUpDownRelationship(), System.Reflection.Metadata.BlobBuilder.Expand(), System.Text.StringBuilder.ExpandByABlock(), Terraria.Graphics.Light.LightingEngine.ExportToMiniMap(), Terraria.Utils.FactorAcceleration(), Terraria.WorldGen.FillWallHolesInArea(), Terraria.WorldGen.FillWallHolesInColumn(), Terraria.NPC.FindFrame(), Terraria.Collision.FindOverlapPoints(), Terraria.GameContent.Biomes.CaveHouse.HouseUtils.FindRoom(), System.Text.Json.Utf8JsonWriter.FirstCallToGetMemory(), Terraria.GameContent.UI.Elements.UIBestiaryEntryGrid.FixBestiaryRange(), ReLogic.Threading.FastParallel.For(), System.Number.FormatDouble(), System.Number.FormatHalf(), System.Number.FormatSingle(), Terraria.GameContent.Biomes.HiveBiome.FrameOutAllHiveContents(), Terraria.GameInput.PlayerInput.GamePadInput(), System.Data.Common.DbCommandBuilder.ParameterNames.GetAdjustedParameterNameMaxLength(), System.Security.SecureString.GetAlignedByteSize(), Terraria.WorldBuilding.ShapeData.GetBounds(), Terraria.Utils.GetChaseResults(), Terraria.GameContent.Skies.AmbientSky.VultureSkyEntity.GetColor(), System.Linq.Enumerable.EnumerablePartition< TSource >.GetCount(), Terraria.MessageBuffer.GetData(), System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.GetDefaultLength(), System.Linq.Expressions.DebugViewWriter.GetFlow(), Terraria.Main.GetInfoAccIconPosition(), System.Net.WebSockets.WebSocketBuffer.GetMaxBufferSize(), Terraria.WorldBuilding.Actions.SetTileAndWallRainbowPaint.GetPaintIDForPosition(), System.Runtime.Serialization.FormatterServices.GetParentTypes(), System.IO.Path.GetRelativePath(), Terraria.UI.Chat.ChatManager.GetStringSize(), Terraria.GameContent.Drawing.TileDrawing.GetTileDrawData(), System.Text.ValueStringBuilder.Grow(), System.Collections.Generic.Queue< T >.Grow(), System.Collections.Generic.PriorityQueue< TElement, TPriority >.Grow(), System.Text.Json.Utf8JsonWriter.Grow(), System.Net.Http.HttpContent.LimitArrayPoolWriteStream.Grow(), System.Runtime.CompilerServices.DefaultInterpolatedStringHandler.GrowCore(), System.Collections.Concurrent.ConcurrentDictionary< TKey, TValue >.GrowTable(), System.Text.Json.Serialization.Converters.ObjectWithParameterizedConstructorConverter< T >.HandlePropertyWithContinuation(), System.Runtime.Serialization.Formatters.Binary.IntSizedArray.IncreaseCapacity(), System.Runtime.Serialization.Formatters.Binary.SizedArray.IncreaseCapacity(), System.Reflection.Emit.ILGenerator.IncreaseCapacity(), System.IO.Enumeration.FileSystemEnumerator< TResult >.Init(), System.Number.Int32ToHexStr(), System.Number.Int64ToHexStr(), Microsoft.Xna.Framework.Graphics.SpriteFont.InternalDraw(), ReLogic.Graphics.DynamicSpriteFont.InternalDraw(), Microsoft.Xna.Framework.Graphics.SpriteFont.InternalMeasure(), Terraria.GameContent.Liquid.LiquidRenderer.InternalPrepareDraw(), System.IO.File.InternalReadAllBytesUnknownLengthAsync(), System.Drawing.Rectangle.Intersect(), System.Drawing.RectangleF.Intersect(), System.ParseNumbers.IntToString(), System.Text.Json.ReadStack.JsonPath(), Terraria.GameContent.UI.States.UIGamepadHelper.LinkVerticalStripRightSideToSingle(), Terraria.GameContent.UI.States.UIGamepadHelper.LinkVerticalStrips(), Terraria.Localization.LanguageManager.LoadLanguageFromFileTextCsv(), System.ParseNumbers.LongToString(), System.Text.StringBuilder.MakeRoom(), System.Byte.Max(), System.Char.Max(), System.Decimal.Max(), System.Double.Max(), Microsoft.Xna.Framework.MathHelper.Max(), System.MathF.Max(), System.Int32.Max(), System.Int64.Max(), System.IntPtr.Max(), System.UIntPtr.Max(), System.SByte.Max(), System.Int16.Max(), System.UInt32.Max(), System.UInt64.Max(), System.UInt16.Max(), System.Threading.PortableThreadPool.WorkerThread.MaybeAddWorkingWorker(), ReLogic.Graphics.DynamicSpriteFont.MeasureString(), Terraria.WorldBuilding.TileFont.MeasureString(), System.Runtime.MemoryFailPoint.MemFreeAfterAddress(), System.RuntimeType.RuntimeTypeCache.MemberInfoCache< T >.MergeWithGlobalList(), Terraria.Projectile.Minion_FindTargetInRange(), System.Collections.Immutable.ImmutableSortedDictionary< TKey, TValue >.Node.Mutate(), System.Collections.Immutable.ImmutableSortedSet< T >.Node.Mutate(), System.Collections.Immutable.SortedInt32KeyNode< TValue >.Mutate(), System.Number.NegativeInt32ToDecStr(), System.Number.NegativeInt64ToDecStr(), Terraria.Rain.NewRain(), System.Globalization.CalendarData.NormalizeDayOfWeek(), System.Numerics.BigNumber.NumberToBigInteger(), System.Number.NumberToDoubleFloatingPointBits(), System.Number.NumberToHalfFloatingPointBits(), System.Number.NumberToSingleFloatingPointBits(), System.Net.Http.HPack.HPackDecoder.OnStringLength(), System.Numerics.BigInteger.operator&(), System.Data.SqlTypes.SqlDecimal.operator*(), System.Data.SqlTypes.SqlDecimal.operator+(), System.Data.SqlTypes.SqlDecimal.operator/(), System.Numerics.BigInteger.operator^(), System.Numerics.BigInteger.operator|(), System.Collections.Immutable.ImmutableList< T >.Node.ParentHeight(), Terraria.GameContent.Generation.ShapeRunner.Perform(), System.Threading.PortableThreadPool.PerformBlockingAdjustment(), Terraria.GameContent.Generation.ShapeBranch.PerformSegment(), Terraria.GameContent.Biomes.Desert.SandMound.Place(), Terraria.GameContent.Biomes.MarbleBiome.Place(), Terraria.GameContent.Biomes.GraniteBiome.PlaceGranite(), System.Diagnostics.Tracing.CounterGroup.PollForValues(), Terraria.GameContent.RGB.SkyShader.ProcessAnyDetail(), Terraria.GameContent.RGB.BrainShader.ProcessHighDetail(), Terraria.GameContent.RGB.CultistShader.ProcessHighDetail(), Terraria.GameContent.RGB.DrippingShader.ProcessHighDetail(), Terraria.GameContent.RGB.DukeFishronShader.ProcessHighDetail(), Terraria.GameContent.RGB.DungeonShader.ProcessHighDetail(), Terraria.GameContent.RGB.EmpressShader.ProcessHighDetail(), Terraria.GameContent.RGB.GemCaveShader.ProcessHighDetail(), Terraria.GameContent.RGB.GoblinArmyShader.ProcessHighDetail(), Terraria.GameContent.RGB.GolemShader.ProcessHighDetail(), Terraria.GameContent.RGB.HallowSurfaceShader.ProcessHighDetail(), Terraria.GameContent.RGB.IceShader.ProcessHighDetail(), Terraria.GameContent.RGB.JungleShader.ProcessHighDetail(), Terraria.GameContent.RGB.KingSlimeShader.ProcessHighDetail(), Terraria.GameContent.RGB.LavaIndicatorShader.ProcessHighDetail(), Terraria.GameContent.RGB.MartianMadnessShader.ProcessHighDetail(), Terraria.GameContent.RGB.MeteoriteShader.ProcessHighDetail(), Terraria.GameContent.RGB.MoonShader.ProcessHighDetail(), Terraria.GameContent.RGB.PirateInvasionShader.ProcessHighDetail(), Terraria.GameContent.RGB.QueenSlimeShader.ProcessHighDetail(), Terraria.GameContent.RGB.RainShader.ProcessHighDetail(), Terraria.GameContent.RGB.SkullShader.ProcessHighDetail(), Terraria.GameContent.RGB.SlimeRainShader.ProcessHighDetail(), Terraria.GameContent.RGB.SurfaceBiomeShader.ProcessHighDetail(), Terraria.GameContent.RGB.TempleShader.ProcessHighDetail(), Terraria.GameContent.RGB.UndergroundCorruptionShader.ProcessHighDetail(), Terraria.GameContent.RGB.UndergroundHallowShader.ProcessHighDetail(), Terraria.GameContent.RGB.UndergroundMushroomShader.ProcessHighDetail(), Terraria.GameContent.RGB.WallOfFleshShader.ProcessHighDetail(), Terraria.GameContent.RGB.BrainShader.ProcessLowDetail(), Terraria.GameContent.RGB.DukeFishronShader.ProcessLowDetail(), Terraria.GameContent.RGB.GoblinArmyShader.ProcessLowDetail(), Terraria.GameContent.RGB.GolemShader.ProcessLowDetail(), Terraria.GameContent.RGB.KingSlimeShader.ProcessLowDetail(), Terraria.GameContent.RGB.LavaIndicatorShader.ProcessLowDetail(), Terraria.GameContent.RGB.MoonShader.ProcessLowDetail(), Terraria.GameContent.RGB.QueenSlimeShader.ProcessLowDetail(), Terraria.GameContent.RGB.TwinsShader.ProcessLowDetail(), Terraria.GameContent.RGB.WormShader.ProcessLowDetail(), System.Text.Json.WriteStack.PropertyPath(), Terraria.GameContent.Bestiary.NPCKillCounterInfoElement.ProvideUIElement(), System.Diagnostics.Metrics.ExponentialHistogramAggregator.QuantileToRank(), Terraria.GameContent.Shaders.WaterShaderData.QueueRipple(), System.IO.File.ReadAllBytesUnknownLength(), System.Text.Json.Serialization.Converters.ObjectWithParameterizedConstructorConverter< T >.ReadConstructorArguments(), System.Security.Cryptography.XmlKeyHelper.ReadCryptoBinaryInt32(), System.Xml.XmlBinaryReader.ReadPartialBinaryText(), System.Xml.XmlBinaryReader.ReadPartialUnicodeText(), System.Xml.XmlBinaryReader.ReadPartialUTF8Text(), System.Formats.Asn1.AsnDecoder.ReadSubIdentifier(), Terraria.Social.Steam.SteamP2PReader.ReadTick(), Terraria.Social.WeGame.WeGameP2PReader.ReadTick(), System.Text.Json.JsonDocument.ReadToEnd(), System.Text.Json.JsonDocument.ReadToEndAsync(), Terraria.Testing.PacketHistory.Record(), Terraria.GameContent.RGB.EmpressShader.RedsVersion(), System.Threading.WaitHandle.RentSafeWaitHandleArray(), System.Text.StringBuilder.Replace(), System.Xml.XmlCharacterData.ReplaceData(), System.Diagnostics.Tracing.NameInfo.ReserveEventIDsBelow(), Terraria.UI.UserInterface.ResetState(), System.Data.BinaryNode.ResultSqlType(), System.Data.BinaryNode.ResultType(), Terraria.Main.rgbToHsl(), System.Data.SqlTypes.SqlDecimal.Round(), Terraria.NetMessage.SendData(), System.Reflection.Metadata.Ecma335.MetadataBuilder.HeapBlobBuilder.SetCapacity(), Terraria.Main.SetDisplayMode(), Terraria.NPC.setFireFlyChance(), System.Threading.PortableThreadPool.SetMinThreads(), Terraria.GameContent.Drawing.WindGrid.SetSize(), Terraria.GameContent.UI.Elements.UIIconTextButton.SetText(), ReLogic.Peripherals.RGB.Fragment.SetupCanvasBounds(), System.Xml.XmlBufferReader.SetWindow(), Terraria.GameContent.Biomes.GraniteBiome.SimulatePressure(), Terraria.GameContent.CoinLossRevengeSystem.RevengeMarker.SpawnEnemy(), Terraria.NPC.SpawnStardustMark_StardustTower(), Terraria.NPC.SpawnStardustMark_StardustWorm(), Terraria.Physics.BallCollision.Step(), ReLogic.Utilities.MultiTimer.StopAndPrint(), System.Linq.Enumerable.TakeRangeFromEndIterator< TSource >(), Microsoft.Xna.Framework.BoundingSphere.Transform(), Microsoft.Xna.Framework.BoundingSphere.Transform(), System.Xml.XmlBufferReader.TryEnsureBytes(), System.Buffers.Text.Utf8Formatter.TryFormatUInt64X(), Terraria.WorldGen.TryGrowingAbigailsFlower(), Terraria.WorldGen.TryGrowingGlowTulip(), System.Number.TryInt32ToHexStr(), System.Number.TryInt64ToHexStr(), System.Number.TryNegativeInt32ToDecStr(), System.Number.TryNegativeInt64ToDecStr(), System.Number.TryUInt32ToDecStr(), System.Number.TryUInt64ToDecStr(), System.Number.UInt32ToDecStr(), System.Number.UInt64ToDecStr(), System.Drawing.Rectangle.Union(), System.Drawing.RectangleF.Union(), Terraria.UI.Gamepad.UILinkPointNavigator.Update(), Terraria.GameContent.RGB.SkyShader.Update(), ReLogic.Peripherals.RGB.RgbKey.Update(), Terraria.GameContent.Skies.LanternSky.Update(), Terraria.GameContent.Skies.MoonLordSky.Update(), Terraria.GameContent.Skies.NebulaSky.Update(), Terraria.GameContent.Skies.SolarSky.Update(), Terraria.GameContent.Skies.StardustSky.Update(), Terraria.GameContent.Skies.VortexSky.Update(), Terraria.Graphics.Effects.FilterManager.Update(), Terraria.UI.UserInterface.Update(), Terraria.Player.Update(), Terraria.Player.UpdateBiomes(), Terraria.Main.updateCloudLayer(), Terraria.Dust.UpdateDust(), Terraria.Mount.UpdateFrame(), Terraria.Map.WorldMap.UpdateLighting(), Terraria.NPC.UpdateNPC_TeleportVisuals(), Terraria.GameContent.Events.MysticLogFairiesEvent.UpdateTime(), ReLogic.Peripherals.RGB.ShaderSelector.ConditionalShader.UpdateVisibility(), Microsoft.Xna.Framework.Graphics.Texture2D.ValidateCreationParameters(), System.Threading.PortableThreadPool.WaitThread.WaitThreadStart(), Terraria.WorldGen.WavyCaverer(), and System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart().