## AngleBetween(Vector3, Vector3) {#anglebetween_1}

Calculate the inner angle between two direction Two direction can be non-normalized vectors

```csharp
public double AngleBetween(Vector3 dir, Vector3 up)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dir | Vector3 | The direction vector to compare with |
| up | Vector3 | The up vector of the two direction's shared plane |

### Return Value

inner angle in radian

### See Also

* struct [Vector3](../)
* namespace [Aspose.ThreeD.Utilities](../../vector3/)
* assembly [Aspose.3D](../../../)

---

## AngleBetween(Vector3) {#anglebetween}

Calculate the inner angle between two direction Two direction can be non-normalized vectors

```csharp
public double AngleBetween(Vector3 dir)
```

| Parameter | Type | Description |
| --- | --- | --- |
| dir | Vector3 | The direction vector to compare with |

### Return Value

inner angle in radian

### See Also

* struct [Vector3](../)
* namespace [Aspose.ThreeD.Utilities](../../vector3/)
* assembly [Aspose.3D](../../../)


