TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ CheckAABBvAABBCollision()

static bool Terraria.Collision.CheckAABBvAABBCollision ( Vector2 position1,
Vector2 dimensions1,
Vector2 position2,
Vector2 dimensions2 )
inlinestatic

Definition at line 243 of file Collision.cs.

244 {
245 //IL_0000: Unknown result type (might be due to invalid IL or missing references)
246 //IL_0006: Unknown result type (might be due to invalid IL or missing references)
247 //IL_000c: Unknown result type (might be due to invalid IL or missing references)
248 //IL_0015: Unknown result type (might be due to invalid IL or missing references)
249 //IL_001b: Unknown result type (might be due to invalid IL or missing references)
250 //IL_0021: Unknown result type (might be due to invalid IL or missing references)
251 //IL_002a: Unknown result type (might be due to invalid IL or missing references)
252 //IL_0030: Unknown result type (might be due to invalid IL or missing references)
253 //IL_0037: Unknown result type (might be due to invalid IL or missing references)
254 //IL_003f: Unknown result type (might be due to invalid IL or missing references)
255 //IL_0045: Unknown result type (might be due to invalid IL or missing references)
256 //IL_004c: Unknown result type (might be due to invalid IL or missing references)
258 {
259 return position1.Y + dimensions1.Y > position2.Y;
260 }
261 return false;
262 }

Referenced by Terraria.Collision.CheckAABBvLineCollision(), Terraria.GameContent.UI.Elements.UIList.UIInnerList.DrawChildren(), Terraria.ModLoader.UI.Elements.UIGrid.UIInnerList.DrawChildren(), Terraria.Main.DrawPageIcons(), and Terraria.GameContent.Shaders.WaterShaderData.DrawWaves().

+ Here is the caller graph for this function: