Summary
Creates a rotation with the specified forward and upwards directions.
- Namespace
- StrideToolkit
.Mathematics - Containing Type
- MathUtilEx
Syntax
public static void LookRotation(ref Vector3 eye, ref Vector3 target, ref Vector3 up, out Quaternion result)
Parameters
| Name | Type | Description |
|---|---|---|
| eye | Vector3 | The postion of the observer. i.e. camera |
| target | Vector3 | The location of the object to look-at. |
| up | Vector3 | The vector that defines which direction is up. |
| result | Quaternion | The created quaternion rotation |
Return Value
| Type | Description |
|---|---|
| void |
