<!--
{
  "availability" : [
    "iOS: 5.0.0 -",
    "iPadOS: 5.0.0 -",
    "macOS: 10.8.0 -",
    "tvOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GLKit",
  "identifier" : "/documentation/GLKit/GLKVector4Divide(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "GLKit"
    ],
    "preciseIdentifier" : "c:@F@GLKVector4Divide"
  },
  "title" : "GLKVector4Divide(_:_:)"
}
-->

# GLKVector4Divide(_:_:)

Returns a new vector created by dividing one vector by another.

```
func GLKVector4Divide(_ vectorLeft: GLKVector4, _ vectorRight: GLKVector4) -> GLKVector4
```

## Parameters

`vectorLeft`

The first vector.

`vectorRight`

The dividend.

## Return Value

A new vector whose components are each calculated by dividing the component found in same position of the first vector by the component found in the same position of the second vector.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)