UNPKG

@three3d/tools

Version:

@three3d/tools 提供了 ThreeJS 常用的工具库

27 lines (16 loc) 669 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@three3d/tools](./tools.md) &gt; [Azimuth](./tools.azimuth.md) &gt; [computeAzimuth](./tools.azimuth.computeazimuth.md) ## Azimuth.computeAzimuth() method 计算方位 **Signature:** ```typescript computeAzimuth(target: IVector3, front?: IVector3 | null, up?: IVector3 | null): CourseInfo; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | target | IVector3 | | | front | IVector3 \| null | _(Optional)_ | | up | IVector3 \| null | _(Optional)_ | **Returns:** [CourseInfo](./tools.courseinfo.md)