GLKVector3AddScalar(_:_:)
Returns a new vector created by adding a scalar value to each component of a vector.
Declaration
func GLKVector3AddScalar(_ vector: GLKVector3, _ value: Float) -> GLKVector3Parameters
- vector:
A vector.
- value:
A scalar value.
Return Value
A new vector.
See Also
Mathematical Operations Performed on Vectors
GLKVector3Negate(_:)GLKVector3Normalize(_:)GLKVector3SubtractScalar(_:_:)GLKVector3MultiplyScalar(_:_:)GLKVector3DivideScalar(_:_:)GLKVector3Add(_:_:)GLKVector3Subtract(_:_:)GLKVector3Multiply(_:_:)GLKVector3Divide(_:_:)GLKVector3DotProduct(_:_:)GLKVector3CrossProduct(_:_:)GLKVector3Lerp(_:_:_:)GLKVector3Project(_:_:)GLKVector3Maximum(_:_:)GLKVector3Minimum(_:_:)