Skip to content

KBE3D / KBCore / Cesium / Math / negativePiToPi

函数: negativePiToPi()

negativePiToPi(angle: number): number

Produces an angle in the range -Pi <= angle <= Pi which is equivalent to the provided angle.

参数

angle

number

in radians

返回

number

The angle in the range [-Math.PI, Math.PI].

KBE3D @3.0.0 Copyright © 2024-present KBE3D