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

# GLKMatrix3MakeWithRows(_:_:_:)

Returns a 3x3 matrix created from three row vectors.

## Declaration

```swift
func GLKMatrix3MakeWithRows(_ row0: GLKVector3, _ row1: GLKVector3, _ row2: GLKVector3) -> GLKMatrix3
```

## Parameters

- `row0`: The first row.
- `row1`: The second row.
- `row2`: The third row.

## Return Value

Return Value A new matrix.

## See Also

### Creating Matrices

- [GLKMatrix3Make(_:_:_:_:_:_:_:_:_:)](glkit/glkmatrix3make(_:_:_:_:_:_:_:_:_:).md)
- [GLKMatrix3MakeAndTranspose(_:_:_:_:_:_:_:_:_:)](glkit/glkmatrix3makeandtranspose(_:_:_:_:_:_:_:_:_:).md)
- [GLKMatrix3MakeWithArray(_:)](glkit/glkmatrix3makewitharray(_:).md)
- [GLKMatrix3MakeWithArrayAndTranspose(_:)](glkit/glkmatrix3makewitharrayandtranspose(_:).md)
- [GLKMatrix3MakeWithColumns(_:_:_:)](glkit/glkmatrix3makewithcolumns(_:_:_:).md)
- [GLKMatrix3MakeRotation(_:_:_:_:)](glkit/glkmatrix3makerotation(_:_:_:_:).md)
- [GLKMatrix3MakeXRotation(_:)](glkit/glkmatrix3makexrotation(_:).md)
- [GLKMatrix3MakeYRotation(_:)](glkit/glkmatrix3makeyrotation(_:).md)
- [GLKMatrix3MakeZRotation(_:)](glkit/glkmatrix3makezrotation(_:).md)
- [GLKMatrix3MakeWithQuaternion(_:)](glkit/glkmatrix3makewithquaternion(_:).md)
- [GLKMatrix3MakeScale(_:_:_:)](glkit/glkmatrix3makescale(_:_:_:).md)
