S&box Wiki

Vector3.Sort

Syntax

static void Sort( Vector3 min, Vector3 max )

Description

Sort these two vectors into min and max. This doesn't just swap the vectors, it sorts each component. So that min will come out containing the minimum x, y and z values.

Arguments

Vector3 min
Vector3 max