LM_Vector2:operator/(f)

Version added: before 9.5

Divides a vector by a number, returning the result as a new vector

ArgumentTypeDescriptionDefaultVersion added
frealA number to divide the vector bybefore 9.5

Return type (LM_Vector2): the original vector, divided by the number "num"

Divides a vector by a number, returning the result as a new vector. Example: v2 = v / 3.