---
title: "project(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/project(_:_:)-9jlig"
---

# project(_:_:)

Returns the first vector projected onto the second vector.

## Declaration

```swift
func project(_ x: SIMD3<Double>, _ y: SIMD3<Double>) -> SIMD3<Double>
```

## See Also

### Geometry Functions

- [cross(_:_:)](simd/cross(_:_:)-7sd7t.md)
- [dot(_:_:)](simd/dot(_:_:)-2sdb.md)
- [normalize(_:)](simd/normalize(_:)-29n8k.md)
- [reflect(_:n:)](simd/reflect(_:n:)-1vw0n.md)
- [refract(_:n:eta:)](simd/refract(_:n:eta:)-13wsy.md)
