Garry's Mod Wiki

Revision Difference

Global.OrderVectors#511313

<function name="OrderVectors" parent="Global" type="libraryfunc">⤶ <description>⤶ Modifies the given vectors so that all of vector2's axis are larger than vector1's by switching them around. Also known as ordering vectors.⤶ ⤶ <note>This function will irreversibly modify the given vectors</note>⤶ </description>⤶ <realm>Shared and Menu</realm>⤶ <args>⤶ <arg name="vector1" type="Vector">Bounding box min resultant</arg>⤶ <arg name="vector2" type="Vector">Bounding box max resultant</arg>⤶ </args>⤶ </function>⤶ ⤶