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

# GLKVector4Normalize(_:)

Returns a new vector created by normalizing an input vector to a length of `1.0`.

```
func GLKVector4Normalize(_ vector: GLKVector4) -> GLKVector4
```

## Parameters

`vector`

A vector.

## Return Value

A new vector.

## Discussion

The resulting vector points in the same direction as the input vector, but has a length of `1.0`.

---

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)