---
title: "GLKVector2Make(_:_:)"
framework: GLKit
role: symbol
role_heading: Function
platforms: [iOS 5.0+, iPadOS 5.0+, macOS 10.8+, tvOS 9.0+]
path: "glkit/glkvector2make(_:_:)"
---

# GLKVector2Make(_:_:)

Returns a new two-component vector created from individual component values.

## Declaration

```swift
func GLKVector2Make(_ x: Float, _ y: Float) -> GLKVector2
```

## Parameters

- `x`: The first component.
- `y`: The second component.

## Return Value

Return Value An initialized vector.

## See Also

### Creating Vectors

- [GLKVector2MakeWithArray(_:)](glkit/glkvector2makewitharray(_:).md)
