Garry's Mod Wiki

OrderVectors

  OrderVectors( Vector vector1, Vector vector2 )

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.

This function will irreversibly modify the given vectors

Arguments

1 Vector vector1
Bounding box min resultant
2 Vector vector2
Bounding box max resultant