vec3i class by value built-in
Three-dimensional vector with integer components
Constructors
Operators
- vec3i opAdd(const vec3i&in) const +
- Adds two vectors
- vec3i& opAddAssign(const vec3i&in) +=
- Adds another vector in place
- vec3i& opAssign(const vec3i&in) =
- Copies another vector
- vec3i opDiv(int) const /
- Divides every component by a number
- vec3i opDiv(const vec3i&in) const /
- Divides the vectors component by component
- vec3i& opDivAssign(int) /=
- Divides every component by a number in place
- vec3i& opDivAssign(const vec3i&in) /=
- Divides by another vector component by component in place
- bool opEquals(const vec3i&in) const ==
- Returns whether all components are equal
- vec3i opMul(int) const *
- Multiplies every component by a number
- vec3i opMul(const vec3i&in) const *
- Multiplies the vectors component by component
- vec3i& opMulAssign(int) *=
- Multiplies every component by a number in place
- vec3i& opMulAssign(const vec3i&in) *=
- Multiplies by another vector component by component in place
- vec3i opNeg() const -x
- Returns the vector with all components negated
- vec3i opSub(const vec3i&in) const -
- Subtracts two vectors
- vec3i& opSubAssign(const vec3i&in) -=
- Subtracts another vector in place