Garry's Mod Wiki

Revision Difference

util.IsBoxIntersectingBox#565365

<function name="IsBoxIntersectingBox" parent="util" type="libraryfunc">⤶ <description>Performs a box-box intersection and returns whether there was an intersection or not.</description>⤶ <realm>Shared</realm>⤶ <args>⤶ <arg name="boxMin" type="Vector">The minimum extents of the Axis-Aligned box.</arg>⤶ <arg name="boxMax" type="Vector">The maximum extents of the Axis-Aligned box.</arg>⤶ <arg name="box2Min" type="Vector">The minimum extents of the second Axis-Aligned box.</arg>⤶ <arg name="box2Max" type="Vector">The maximum extents of the second Axis-Aligned box.</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="boolean">`true` if there is an intersection, `false` otherwise.</ret>⤶ </rets>⤶ </function>