3D Lingo Dictionary > Symbols > - (subtraction)

 

- (subtraction)

Syntax

vector1 - vector2
vector - scalar 

Description

3D vector operator; subtracts the components of vector2 from the corresponding components of vector1, or subtracts the scalar value from each of the components and returns a new vector.

vector1 - vector2 subtracts the values of vector2 from the corresponding components in vector1 and returns a new vector.

vector - scaler subtracts the value of the scalar from each of the components in the vector and returns a new vector.