init(position:target:up:)
Returns a pose at the specified position with the rotation towards the target.
Declaration
init(position: Point3D = .zero, target: Point3D, up: Vector3D = Vector3D(x: 0, y: 1, z: 0))Parameters
- position:
A point structure that specifies the position of the pose.
- target:
The point that the pose orients towards.
- up:
The up direction.